We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dont find possible ways to protect swagger
doesnt work
.guard(app => app .use(isAuthenticated) .get("/swagger/json", redirect("/swagger/json")) .get("/swagger", redirect("/swagger")) ) .use(swagger())
isAuthenticated here is plugin with checking auth credentials.
isAuthenticated
What can be done ? => The fastest way to impement mannual auth
.use(swagger({ authToken: "token_1234" })
The user must manually enter a token in the browser, which will be used in the request headers
The text was updated successfully, but these errors were encountered:
I have the same problem, I want the endpoints in swagger to appear as protected but I can't do it. The documentation does not show examples
Sorry, something went wrong.
No branches or pull requests
Dont find possible ways to protect swagger
doesnt work
isAuthenticated
here is plugin with checking auth credentials.What can be done ? =>
The fastest way to impement mannual auth
The user must manually enter a token in the browser, which will be used in the request headers
The text was updated successfully, but these errors were encountered: