koa-swagger-decorator
koa-swagger-decorator copied to clipboard
how to add baseic auth api_auth and user auth in swagger doc
hello sir basically, I want to add three middleware in my code 1> basic auth with userName and password 2> api auth with api_key 3> user auth with authorization
i have implemented user auth, API auth but Api auth is not working only user auth is able to use it
In the ctx.request.headers i am getting only single key Authorization with token but i want a api-key so that i can implement api auth and user auth middlewear on my code
Please help me as soon as possible thanx in advance
Im sorry, this authorizations feature is not supported yet. We will implement this featrue in the next major version.
hello sir r u talking about API auth or basic auth
or for the both the authorizations
because i am able to implement only user authorizations with token