-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Hello and thanks for a great project!
I wondered whether there's any interest in support for non-json content types?
Two examples I have right now are that I'd like to annotate some existing methods to document:
- An API that returns no content. The only options I seem to have are
Nonewhich comes back asnulland an empty string, which comes back as"". - A simple string value. I've refactored a method that used to be equivalent to
return web.Response('foo')to bereturn APIResponse('foo')but over the wire, I'm changing the API behavior. It used to be returningfoobut now it returns"foo".
This assumption that all API respond in json requirement seems to be coming from here?
Thank you!
Metadata
Metadata
Assignees
Labels
No labels