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 put config securityDefinitions, but still this property is empty.
The text was updated successfully, but these errors were encountered:
Please check the following part from the README.md
You can load external definitions or paths after swaggerJSDoc() function.
swaggerJSDoc()
// Initialize swagger-jsdoc -> returns validated swagger spec in json format var swaggerSpec = swaggerJSDoc(options); // load external schema json swaggerSpec.definitions.in_login = require("config/schemajson/in.login.schema.json"); swaggerSpec.definitions.out_login = require("config/schemajson/out.login.schema.json"); // or set manual paths swaggerSpec.paths["api/v1/cool"] = {"get" : { ... } } };
Sorry, something went wrong.
@TopGuo please follow examples from previous questions. For instance, #141
No branches or pull requests
I put config securityDefinitions, but still this property is empty.
The text was updated successfully, but these errors were encountered: