SwaggerService

Swagger UI service.

Implements: ISwaggerService

Extends: RestService

Description

The SwaggerService class allows you to create a Swagger UI service.

Instance methods

register

Registers the Swagger service.

public register()

registerOpenApiSpec

Performs the required Swagger registration steps.

public registerOpenApiSpec(baseRoute: string, swaggerRoute?: string): void

  • baseRoute: string - base route
  • swaggerRoute: string - Swagger route