UNPKG

fastify-swagger

Version:

Serve Swagger/OpenAPI documentation for Fastify, supporting dynamic generation

69 lines (68 loc) 1.73 kB
{ "name": "fastify-swagger", "version": "4.7.0", "description": "Serve Swagger/OpenAPI documentation for Fastify, supporting dynamic generation", "main": "index.js", "scripts": { "prepare": "node lib/util/prepare-swagger-ui", "prepublishOnly": "npm run prepare", "test": "standard && tap --100 \"test/**/*.js\" && npm run typescript", "test:ci": "standard && tap \"test/**/*.js\" --coverage-report=lcovonly && npm run typescript", "typescript": "tsd" }, "repository": { "type": "git", "url": "git+https://github.com/fastify/fastify-swagger.git" }, "keywords": [ "fastify", "swagger", "openapi", "serve", "generate", "static" ], "author": "Tomas Della Vedova - @delvedor (http://delved.org)", "contributors": [ { "name": "Matteo Collina", "email": "hello@matteocollina.com" } ], "license": "MIT", "bugs": { "url": "https://github.com/fastify/fastify-swagger/issues" }, "homepage": "https://github.com/fastify/fastify-swagger#readme", "devDependencies": { "@types/node": "^14.14.6", "fastify": "^3.7.0", "fastify-helmet": "^5.0.3", "fs-extra": "^9.0.0", "joi": "^14.3.1", "joi-to-json": "^1.2.0", "pre-commit": "^1.2.2", "qs": "^6.5.2", "standard": "^16.0.1", "swagger-parser": "^10.0.2", "swagger-ui-dist": "3.47.1", "tap": "^15.0.1", "tsd": "^0.14.0" }, "dependencies": { "fastify-plugin": "^3.0.0", "fastify-static": "^4.0.0", "js-yaml": "^4.0.0", "json-schema-resolver": "^1.2.0", "openapi-types": "^8.0.0" }, "standard": { "ignore": [ "static", "tap-snapshots/*" ] }, "tsd": { "directory": "test/types" } }