SwaggerController

Swagger UI controller.

Implements: ISwaggerController

Extends: RestController

Description

The SwaggerController class allows you to create a Swagger UI controller.

Instance methods

register

Registers the Swagger controller.

@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