I'm using Grape (on Rails 4), Swagger and Swagger-UI to document my Grape API. Now I wonder how to group routes like the Swagger example: http://petstore.swagger.wordnik.com/
Thats how my Swagger-UI currently looks:
I'm using Grape (on Rails 4), Swagger and Swagger-UI to document my Grape API. Now I wonder how to group routes like the Swagger example: http://petstore.swagger.wordnik.com/
Thats how my Swagger-UI currently looks:
Copyright © 2021 Jogjafile Inc.
If you define your endpoint within a
resource
block, for example:... you will see this nice separators: