3

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?

sawa
  • 165,429
  • 45
  • 277
  • 381
sureshprasanna70
  • 1,043
  • 1
  • 10
  • 27

0 Answers0