AfterShip/swagger-ajv

How to set up authentication for accessing swagger docs?

Opened this issue · 1 comments

How to set up authentication for accessing swagger docs?

You can prepend an authentication middleware in the docs route.

Here is one to go https://github.com/koajs/basic-auth