UNPKG

@sleeksky/alt-swagger

Version:

A fluent, programmatic API for generating OpenAPI 3.0 specifications with TypeScript support. Define REST API endpoints, schemas, parameters, and security using a simple, chainable syntax.

56 lines (55 loc) 1.52 kB
{ "name": "@sleeksky/alt-swagger", "version": "3.3.1", "description": "A fluent, programmatic API for generating OpenAPI 3.0 specifications with TypeScript support. Define REST API endpoints, schemas, parameters, and security using a simple, chainable syntax.", "main": "./dist/index.js", "types": "./dist/index.d.ts", "scripts": { "build": "tsc", "test": "mocha --require ts-node/register test/index.ts", "cover": "nyc --check-coverage npm run test", "prepublish": "npm run build && npm run test" }, "files": [ "dist" ], "repository": { "type": "git", "url": "git+https://github.com/sleeksky-dev/alt-swagger" }, "keywords": [ "swagger", "open-api", "api-spec", "express", "javascript" ], "author": "Yusuf <yusuf@sleeksky.com>", "license": "MIT", "bugs": { "url": "https://github.com/sleeksky-dev/alt-swagger/issues" }, "homepage": "https://github.com/sleeksky-dev/alt-swagger#readme", "devDependencies": { "@types/chai": "^5.2.3", "@types/express": "^5.0.6", "@types/lodash": "^4.17.21", "@types/mocha": "^10.0.10", "@types/node": "^25.0.3", "chai": "^4.1.2", "cross-env": "^5.1.3", "express": "^4.17.1", "mocha": "^6.1.3", "nyc": "^13.3.0", "swagger-ui-express": "^4.1.6", "ts-node": "^10.9.2", "typescript": "^5.9.3" }, "dependencies": { "@sleeksky/alt-schema": "^2.1.0", "lodash": "^4.17.21" }, "peerDependencies": { "@sleeksky/alt-schema": "2.x" } }