You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in the response, i am always get <Channel><ID>1</ID><Name>Abc</Name></Channel> while i am expecting <?xml version="1.0" encoding="utf-8"?><Channel><ID>1</ID><Name>Abc</Name></Channel>, how can i make it happen?
The text was updated successfully, but these errors were encountered:
You do not state exactly which tool you're using, but I do think this is a tooling, rather than a spec. issue, so should be raised on the relevant tooling repository.
Just for clarity, the xmlObject does not support a version or encoding field, so this is not going to work.
i am using swagger in golang, and here's the endpoint:
and definition:
in the response, i am always get
<Channel><ID>1</ID><Name>Abc</Name></Channel>
while i am expecting<?xml version="1.0" encoding="utf-8"?><Channel><ID>1</ID><Name>Abc</Name></Channel>
, how can i make it happen?The text was updated successfully, but these errors were encountered: