AfterShip / swagger-ajv

Old name: koa-swagger-ajv
MIT License
16 stars 18 forks source link

How to set up authentication for accessing swagger docs? #64

Open Warmriver opened 2 years ago

calvinxiao commented 2 years ago

You can prepend an authentication middleware in the docs route.

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