Swagger UI service.
Implements: ISwaggerController
Extends: RestController
Description
The SwaggerController class allows you to create a Swagger UI service.
Instance methods
register
Registers the Swagger service.
public
void register()
registerOpenApiSpec
Performs the required Swagger registration steps.
public
void registerOpenApiSpec(String baseRoute, String swaggerRoute)
- baseRoute: string - base route
- swaggerRoute: string - Swagger route