ruby-grape / grape-swagger

Add OAPI/swagger v2.0 compliant documentation to your grape API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hiding swagger documentation from the public

j4y opened this issue · comments

I'm looking to protect the swagger documentation so that it isn't publicly accessible.

Any suggestions on how to either add authentication or prevent the my_api/swagger_doc documentation from being served up to the public?