display only specific swagger API documentation endpoints with grape-swagger-rails

Viewed 304

I have some REST endpoints (see example documentation below). They are created using grape-swagger-rails gem. I want to show only specific endpoints and hide rest of them. Has anyone ideas on how do I approach this problem. enter image description here

1 Answers

You can write entity controller name to url.

http://localhost:8081/swagger-ui.html#/pet-controller

8081: your server port

pet-controller: your controller name of its has endpoint.

Related