Response Sample Response Schema
Closed this issue · 5 comments
mike-seagull commented
mike-seagull commented
nvm my mistake :) u have to click on it to open it
pdurkim commented
how did you define a response sample?
mike-seagull commented
@peyterkim I defined it within the "responses" block in the json file https://crossbrowsertesting.com/apidocs/definitions/livetests.json https://crossbrowsertesting.com/apidocs/v3/livetests.html
pdurkim commented
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?
pdurkim commented
is there a way to define response examples for Swagger 1.2?