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
Ask a question
For example I have an API that will return a 'text/plain' type response, but when I use @api/namespace.response it only allow me to pass a Model instance into, and the model is actually a json-like(dict) thing, and in the swagger api I will see something like {"response_key": "response_value"}, however my actually response is just a text, so there is no json-like response actually. How can I represent the example in the swagger doc?
The text was updated successfully, but these errors were encountered:
Ask a question
For example I have an API that will return a 'text/plain' type response, but when I use @api/namespace.response it only allow me to pass a Model instance into, and the model is actually a json-like(dict) thing, and in the swagger api I will see something like
{"response_key": "response_value"}
, however my actually response is just a text, so there is no json-like response actually. How can I represent the example in the swagger doc?The text was updated successfully, but these errors were encountered: