{"_id":"@carrotwu/nestjs-swagger","_rev":"1-2f37d8f5503540e4275059ffc5bf70fc","name":"@carrotwu/nestjs-swagger","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@carrotwu/nestjs-swagger","version":"1.0.0","description":"Nest - modern, fast, powerful node.js web framework (@swagger)","author":{"name":"carrotWu"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/nestjs/swagger.git"},"main":"./dist/index.js","scripts":{"build":"tsc -p tsconfig.json","format":"prettier \"lib/**/*.ts\" --write","lint":"eslint 'lib/**/*.ts' --fix","prepublish:next":"npm run build","publish:next":"npm publish --access public --tag next","prepublish:npm":"npm run build","publish:npm":"npm publish --access public","test":"jest","test:dev":"jest --watch","test:e2e":"jest --config e2e/jest-e2e.json","prerelease":"npm run build","release":"release-it"},"dependencies":{"@nestjs/mapped-types":"0.1.1","lodash":"4.17.20","path-to-regexp":"3.2.0"},"devDependencies":{"@commitlint/cli":"11.0.0","@commitlint/config-angular":"11.0.0","@nestjs/common":"7.6.4","@nestjs/core":"7.6.4","@nestjs/platform-express":"7.6.4","@nestjs/platform-fastify":"7.6.4","@types/jest":"26.0.19","@types/lodash":"4.14.165","@types/node":"11.15.0","@typescript-eslint/eslint-plugin":"4.11.0","@typescript-eslint/parser":"4.11.0","class-transformer":"0.3.1","class-validator":"0.12.2","eslint":"7.16.0","eslint-config-prettier":"7.1.0","eslint-plugin-import":"2.22.1","express":"4.17.1","fastify-swagger":"3.5.0","husky":"4.3.6","jest":"26.6.3","lint-staged":"10.5.3","prettier":"2.2.1","reflect-metadata":"0.1.13","release-it":"14.2.2","swagger-parser":"10.0.2","swagger-ui-express":"4.1.6","ts-jest":"26.4.4","typescript":"4.1.3"},"peerDependencies":{"@nestjs/common":"^6.8.0 || ^7.0.0","@nestjs/core":"^6.8.0 || ^7.0.0","reflect-metadata":"^0.1.12"},"lint-staged":{"*.ts":["prettier --write","git add -f"]},"husky":{"hooks":{"pre-commit":"lint-staged","commit-msg":"commitlint -c .commitlintrc.json -E HUSKY_GIT_PARAMS"}},"gitHead":"a8c166df654b002009bc2963ccb4b3cbdefd407b","bugs":{"url":"https://github.com/nestjs/swagger/issues"},"homepage":"https://github.com/nestjs/swagger#readme","_id":"@carrotwu/nestjs-swagger@1.0.0","_nodeVersion":"12.16.3","_npmVersion":"6.14.5","dist":{"integrity":"sha512-NuJRYZWOzvS9dRUmF0wW46ttV0aiXpz3LQicZytx91psEzDVMR3AeR0rvOvOPO7wEhjkPA6SnkvdUnzV9ztbxQ==","shasum":"7cfda32dd0f5042fe14644298bfe8fc795dd799a","tarball":"https://registry.npmjs.org/@carrotwu/nestjs-swagger/-/nestjs-swagger-1.0.0.tgz","fileCount":168,"unpackedSize":212001,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf4wabCRA9TVsSAnZWagAA+ZMP/jpq7e7SSddFVIJLXEnB\njUU0d0Ce+2uzxqkjCM+lIExWP06538YYpj+0o4kvCLU0FYzCh0dexusUFQ6U\nO3dXVlGrqfrD4XafkCl1OrzdcRfLWmk96lbeoNipxA9kqyakXtXZGOT7Wdto\nV933fak4W1othPs9+mUYSJJcQyhCMTVph4kyxxrqCRIRfS1LTT8wVo/Lww32\nU4sPvUYkCAIyh9K3LxdHrqq77M1UlF1oNTP6AyU5LVij8tqGm4wRQgGLgRB1\ngLbx7rPs6DKz2AsHo5lrPdSsGGU2j7xcdtVqf7EGD7Fw5OAJ2wE58Di7S5SV\n1GepfdkeYBxRESLYjMjsv6yOdmlYKSBcTAZx4/on4xOKmkQ3h0BlYQ8ELBHu\nlJeS4JOqsrZtlKkdbLIIdcXxoIe+kYjAsphY0TVwrYUAEBw2USg38/avqH+d\nZUn+hYE+VI73cRx5J3n5TiGEM/oN3w6Sbz+7xK5YNzj1zoWHG40oedeESs3h\nBDPq9EUufnuRLm0TkmJujyIfyUVQ3nmXi0yLFC7mroCaYoWU01TwKM+B25Ll\ncYtw/xpU8qJ0CXgniNwBRO1H+vlb636cFpac7fJ290aqS7GufPjkjDaX56Nj\nMMWTt183vJmx8So55ha5Y/QRsxDWyNcwG9TraDB5u5a5CEOMWPE572hN+/Nt\nV+dA\r\n=VfS9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCe0DqmoEj5dYlzOJb6G6eBPYphnBq+5zJFwNRAucibwwIgVznvo4TD5RUPYKp7gab/n45xLk9CYvxaMUF2FZVa0ts="}]},"_npmUser":{"name":"carrotwu","email":"542425997@qq.com"},"directories":{},"maintainers":[{"name":"carrotwu","email":"542425997@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nestjs-swagger_1.0.0_1608713883432_0.6589670977277"},"_hasShrinkwrap":false}},"time":{"created":"2020-12-23T08:58:03.391Z","1.0.0":"2020-12-23T08:58:03.622Z","modified":"2022-04-04T21:59:07.501Z"},"maintainers":[{"name":"carrotwu","email":"542425997@qq.com"}],"description":"Nest - modern, fast, powerful node.js web framework (@swagger)","homepage":"https://github.com/nestjs/swagger#readme","repository":{"type":"git","url":"git+https://github.com/nestjs/swagger.git"},"author":{"name":"carrotWu"},"bugs":{"url":"https://github.com/nestjs/swagger/issues"},"license":"MIT","readme":"<p align=\"center\">\r\n  <a href=\"http://nestjs.com/\" target=\"blank\"><img src=\"https://nestjs.com/img/logo_text.svg\" width=\"320\" alt=\"Nest Logo\" /></a>\r\n</p>\r\n\r\n  <p align=\"center\">A progressive <a href=\"http://nodejs.org\" target=\"blank\">Node.js</a> framework for building efficient and scalable server-side applications.</p>\r\n    <p align=\"center\">\r\n<a href=\"https://www.npmjs.com/~nestjscore\"><img src=\"https://img.shields.io/npm/v/@nestjs/core.svg\" alt=\"NPM Version\" /></a>\r\n<a href=\"https://www.npmjs.com/~nestjscore\"><img src=\"https://img.shields.io/npm/l/@nestjs/core.svg\" alt=\"Package License\" /></a>\r\n<a href=\"https://www.npmjs.com/~nestjscore\"><img src=\"https://img.shields.io/npm/dm/@nestjs/core.svg\" alt=\"NPM Downloads\" /></a>\r\n<a href=\"https://circleci.com/gh/nestjs/nest\" target=\"_blank\"><img src=\"https://img.shields.io/circleci/build/github/nestjs/nest/master\" alt=\"CircleCI\" /></a>\r\n<a href=\"https://coveralls.io/github/nestjs/nest?branch=master\"><img src=\"https://coveralls.io/repos/github/nestjs/nest/badge.svg?branch=master#5\" alt=\"Coverage\" /></a>\r\n<a href=\"https://discord.gg/G7Qnnhy\" target=\"_blank\"><img src=\"https://img.shields.io/badge/discord-online-brightgreen.svg\" alt=\"Discord\"/></a>\r\n<a href=\"https://opencollective.com/nest#backer\"><img src=\"https://opencollective.com/nest/backers/badge.svg\" alt=\"Backers on Open Collective\" /></a>\r\n<a href=\"https://opencollective.com/nest#sponsor\"><img src=\"https://opencollective.com/nest/sponsors/badge.svg\" alt=\"Sponsors on Open Collective\" /></a>\r\n  <a href=\"https://paypal.me/kamilmysliwiec\"><img src=\"https://img.shields.io/badge/Donate-PayPal-dc3d53.svg\"/></a>\r\n  <a href=\"https://twitter.com/nestframework\"><img src=\"https://img.shields.io/twitter/follow/nestframework.svg?style=social&label=Follow\"></a>\r\n</p>\r\n  <!--[![Backers on Open Collective](https://opencollective.com/nest/backers/badge.svg)](https://opencollective.com/nest#backer)\r\n  [![Sponsors on Open Collective](https://opencollective.com/nest/sponsors/badge.svg)](https://opencollective.com/nest#sponsor)-->\r\n\r\n## Description\r\n\r\n[OpenAPI (Swagger)](https://www.openapis.org/) module for [Nest](https://github.com/nestjs/nest).\r\n\r\n## Installation\r\n\r\n```bash\r\n$ npm i --save @nestjs/swagger\r\n```\r\n\r\n## Quick Start\r\n\r\n[Overview & Tutorial](https://docs.nestjs.com/openapi/introduction)\r\n\r\n## Migration from v3\r\n\r\nIf you're currently using `@nestjs/swagger@3.*`, note the following breaking/API changes in version 4.0.\r\n\r\nThe following decorators have been changed/renamed:\r\n\r\n- `@ApiModelProperty` is now `@ApiProperty`\r\n- `@ApiModelPropertyOptional` is now `@ApiPropertyOptional`\r\n- `@ApiResponseModelProperty` is now `@ApiResponseProperty`\r\n- `@ApiImplicitQuery` is now `@ApiQuery`\r\n- `@ApiImplicitParam` is now `@ApiParam`\r\n- `@ApiImplicitBody` is now `@ApiBody`\r\n- `@ApiImplicitHeader` is now `@ApiHeader`\r\n- `@ApiOperation({ title: 'test' })` is now `@ApiOperation({ summary: 'test' })`\r\n- `@ApiUseTags` is now `@ApiTags`\r\n\r\n`DocumentBuilder` breaking changes (updated method signatures):\r\n\r\n- `addTag`\r\n- `addBearerAuth`\r\n- `addOAuth2`\r\n- `setContactEmail` is now `setContact`\r\n- `setHost` has been removed\r\n- `setSchemes` has been removed (use the `addServer` instead, e.g., `addServer('http://')`)\r\n\r\nThe following methods have been added:\r\n\r\n- `addServer`\r\n- `addApiKey`\r\n- `addBasicAuth`\r\n- `addSecurity`\r\n- `addSecurityRequirements`\r\n\r\n## Support\r\n\r\nNest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please [read more here](https://docs.nestjs.com/support).\r\n\r\n## Stay in touch\r\n\r\n- Author - [Kamil Myśliwiec](https://twitter.com/kammysliwiec)\r\n- Website - [https://nestjs.com](https://nestjs.com/)\r\n- Twitter - [@nestframework](https://twitter.com/nestframework)\r\n\r\n## License\r\n\r\nNest is [MIT licensed](LICENSE).\r\n","readmeFilename":"README.md"}