Home API documentation - How to give response schema using rabl with grape-api
Reply: 0

API documentation - How to give response schema using rabl with grape-api

user449
1#
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?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.295372 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO