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.

@override

void register()

registerOpenApiSpec

Performs the required Swagger registration steps.

@override

void registerOpenApiSpec(String? baseRoute, String? swaggerRoute)

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