richhollis / swagger-docs

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

added extra information for DSL method "consume" #157

Open myeung58 opened 7 years ago

myeung58 commented 7 years ago

Came across this when writing swagger docs myself. Thought it might be useful for people who work with JSON API

Drowze commented 7 years ago

Came across a similar issue when trying to generate a consume property at api-docs.json. Found this PR: https://github.com/richhollis/swagger-docs/pull/74

Hope this update on the docs get merged.