Interface

SwaggerSetupOptions

SwaggerSetupOptions

Defines all customizable parameters for Swagger setup.

View Source factory/NestBootstraper.ts, line 272

Members

string

# openApiJsonPath Optional

Path to expose the OpenAPI specification in JSON format.

Path to expose the OpenAPI specification in JSON format. Example: /api/openapi.json

View Source factory/NestBootstraper.ts, line 292

string

# openApiYamlPath Optional

Path to expose the OpenAPI specification in YAML format.

Path to expose the OpenAPI specification in YAML format. Requires 'yaml' package as peer dependency. Example: /api/openapi.yaml

View Source factory/NestBootstraper.ts, line 299