jensoleg/swagger-ui

Response Sample Response Schema

Closed this issue · 5 comments

The schema is in the block for sample.
screen shot 2015-12-14 at 10 37 21 am

nvm my mistake :) u have to click on it to open it

how did you define a response sample?

so, i was using Swagger::Blocks because I'm trying to generate docs for a Rails app but the setup is kind of confusing. Seems like you are writing out the docs manually...what resources have you used to get this set up?

is there a way to define response examples for Swagger 1.2?