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
I mainly use nest. Js framework in my daily work. I would like to ask when it can be supported.
The text was updated successfully, but these errors were encountered:
You can already use it in NestJs by adding the following code to the main.ts file :
main.ts
const swStats = require('swagger-stats'); app.use(swStats.getMiddleware({ swaggerSpec: document, authentication: true, onAuthenticate: function(req: any, username: string, password: string){ // simple check for username and password return ( username === 'username' && password === 'password' ); } }));
Sorry, something went wrong.
sv2
No branches or pull requests
I mainly use nest. Js framework in my daily work. I would like to ask when it can be supported.
The text was updated successfully, but these errors were encountered: