0.4.0 • Published 5 years ago

nest-swagger v0.4.0

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

Swagger for Nest

Quick start

  • install
npm install nest-swagger
  • add swagger.config.json
    {
        "swagger": {
            "outputDirectory": "./dist",
            "entryFile": "./src/main.ts",
            "name": "your app name",
            "description": "description",
            "license": "MIT",
            "produces": ["application/json"],
            "version": "0.0.1"
        }
    }
  • add npm script
    "swagger": "swaggerGen -c ./swagger.config.json",
  • run npm script
    npm run swagger

you can find the output generated swagger.json and swagger.yaml

examples project

https://github.com/vellengs/nestx-server

0.4.0

5 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.3.0-alpha.0

5 years ago

0.2.1-alpha.0

5 years ago

0.2.0-alpha.0

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago