Loading...
Loading...
Generate OpenAPI/Swagger documentation for an API, including endpoint schemas, request/response types, and interactive docs UI.
npx skill4agent add spencerpauly/awesome-cursor-skills adding-api-docsswagger-jsdocswagger-ui-expressnpm install swagger-jsdoc swagger-ui-express
npm install -D @types/swagger-jsdoc @types/swagger-ui-express/**
* @openapi
* /api/users:
* get:
* summary: List all users
* responses:
* 200:
* description: A list of users
*/openapi.jsonnext-swagger-doc/api/docs/docs/redoc/docsnpm install @scalar/express-api-referencezod-to-openapisecuritySchemes