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?
Asked
Active
Viewed 224 times