class SwaggerModule {
static createDocument(app: INestApplication, config: Omit<OpenAPIObject, "paths">, options: SwaggerDocumentOptions = {}): OpenAPIObject
static setup(path: string, app: INestApplication, document: OpenAPIObject, options?: SwaggerCustomOptions)
}
Static methods
createDocument()
|
static createDocument(app: INestApplication, config: Omit<OpenAPIObject, "paths">, options: SwaggerDocumentOptions = {}): OpenAPIObject
Parameters
Returns
OpenAPIObject
|
setup()
|
static setup(path: string, app: INestApplication, document: OpenAPIObject, options?: SwaggerCustomOptions)
Parameters
|