richhollis / swagger-docs

Generates swagger-ui json files for Rails APIs with a simple DSL.
MIT License
750 stars 150 forks source link

Support for allowing user to pick the return type they want.. JSON/XML/CSV.. #120

Closed ghost closed 8 years ago

ghost commented 9 years ago

Would be nice if I could add a configuration to give the user the option for what type of response they want. Right now it just returns whatever the default is.

richhollis commented 8 years ago

We don't have any support for that but can consider a PR if you want to look at this. Thanks!