API documentation - How to give response schema using rabl with grape-api
user449 Published in August 15, 2018, 11:15 am
We are using grape for APIs and grape-rabl for responses in our Rails application. Now we are in the process of documenting the APIs, and we use grape-swagger for it. But we do not know how to document the response schema for the API endpoints. The tutorial of grape-swagger provides a way to document the responses, but only when using grape-entity. How can I generate docs when using grape-rabl?