@nest-pkgz/nest-swagger-split
v1.0.4
Published
Split Swagger documentation to multiple files
Downloads
679
Readme
Nest Swagger Split
Split swagger documentation into multiple files.
Installation
NPM
npm install @nest-pkgz/nest-swagger-split --save
Quick Start
// main.ts
const document = SwaggerModule.createDocument(app, config);
const {withoutTagInput,withTagSplit} = splitSwaggerDocument(document);
// app.controller.ts
@Get()
@ApiInternal()
getHello(): string {
return this.appService.getHello();
}
Contribution
Want to help improve this package? We take pull requests.
Status
The project is under active development.
License
nest-swagger-split is MIT licensed.