UNPKG

express-swagger-autogen

Version:

A library that auto generates swagger docs to your endpoints from express.

59 lines (58 loc) 1.89 kB
{ "name": "express-swagger-autogen", "version": "1.1.10", "description": "A library that auto generates swagger docs to your endpoints from express.", "main": "dist/autogen.js", "types": "dist/autogen.d.ts", "scripts": { "build": "tsc --project tsconfig.json", "test:default": "ts-node-dev --project tsconfig.json -r tsconfig-paths/register ./examples/default.ts", "test:withDecorators": "ts-node-dev --project tsconfig.json -r tsconfig-paths/register ./examples/with-decorators.ts", "test:withDecoratorsValidation": "ts-node-dev --project tsconfig.json -r tsconfig-paths/register ./examples/with-decorators+validation.ts", "test:withDecoratorsValidationSecurityArrowHandler": "ts-node-dev --project tsconfig.json -r tsconfig-paths/register ./examples/with-decorators+validation+security+arrow+handler.ts" }, "author": { "name": "Carlos Loureiro", "email": "loureiro.s.carlos@gmail.com", "url": "https://www.linkedin.com/in/carlos-s-loureiro/" }, "homepage": "https://github.com/CarlosSLoureiro/express-swagger-autogen#readme", "repository": { "type": "git", "url": "git+https://github.com/CarlosSLoureiro/express-swagger-autogen.git" }, "keywords": [ "express", "swagger", "autogen", "documentation", "api", "typescript", "node", "javascript", "openapi", "swagger-ui" ], "files": [ "dist" ], "license": "MIT", "devDependencies": { "@types/express": "^5.0.3", "@types/swagger-ui-express": "^4.1.8", "ts-node-dev": "^2.0.0", "tsconfig-paths": "^4.2.0", "typescript": "^5.8.3" }, "dependencies": { "http-status-codes": "^2.3.0", "openapi-typescript": "^7.8.0", "reflect-metadata": "^0.2.2", "swagger-ui-express": "^5.0.1", "zod-openapi": "^5.1.0" }, "peerDependencies": { "express": ">=4.0.0", "zod": ">=4.0.0" } }