grape-swagger
grape-swagger copied to clipboard
Adding Request & Response example
I would like to add an array of example requests and corresponding responses for my API. Swagger provides a way to add those examples as defined in the link below.
But I couldn't figure out how the same can be achieved in grape-swagger
Hi @dblock,
Can this one be achieved or not? I could see regular updates in the repo but this issue being ignored. I would love to have this feature for our documentation purposes. Thanks in advance
@arparthasarathi, #675, which just got merged, gets us halfway there. @LeFnord, what are the chances we could get a release of the current state so that we could at least start working with response examples?
@jdmurphy I'm on … sometimes I have to work 😉
@jdmurphy Thanks a lot for the update buddy and also many thanks to @LeFnord for this awesome library.
I have a quick question, am using grape-rabl for rendering the JSON instead of grape-entity. Is there any way that I could be able to include grape-rabl into the example description instead of grape-entity? Because there is a lot of rewrite to migrate to grape-entity and also I could see some performance issues as well.