Class SwaggerConfigurationService
Swagger service options and configuration. This class is used to configure the swagger service, and to provide the options for the swagger UI. The swagger UI is available at the following URL: https://api.arolariu.ro/index.html Swagger JSON is available at the following URL: https://api.arolariu.ro/swagger/v1/swagger.json
internal static class SwaggerConfigurationService
- Inheritance
-
SwaggerConfigurationService
- Inherited Members
Methods
GetSwaggerGenOptions()
Get the swagger generator options. This method is used to configure the swagger generator. The swagger generator is used to generate the swagger JSON file. The swagger JSON file is then used by the swagger UI to display the API documentation.
internal static Action<SwaggerGenOptions> GetSwaggerGenOptions()
Returns
- Action<SwaggerGenOptions>
An instance of Action<T>.
GetSwaggerOptions()
Get the swagger options.
internal static SwaggerOptions GetSwaggerOptions()
Returns
- SwaggerOptions
An instance of SwaggerOptions.
GetSwaggerUIOptions()
Get the swagger UI options. This method is used to configure the swagger UI.
internal static SwaggerUIOptions GetSwaggerUIOptions()
Returns
- SwaggerUIOptions
An instance of SwaggerUIOptions.