Class BaseOpenApiConfig
java.lang.Object
at.jku.dke.etutor.task_app.config.BaseOpenApiConfig
Base class for OpenAPI configuration.
Override this class and add the Configuration
annotation to the subclass.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
BaseOpenApiConfig
(String title, String description, String version) Creates a new instance of classBaseOpenApiConfig
. -
Method Summary
Modifier and TypeMethodDescriptionio.swagger.v3.oas.models.OpenAPI
Provides the Open API information.protected io.swagger.v3.oas.models.info.Info
Provides the OpenAPI information.
-
Constructor Details
-
BaseOpenApiConfig
Creates a new instance of classBaseOpenApiConfig
.- Parameters:
title
- The title of the API documentation.description
- The description of the API.version
- The version of the API.
-
-
Method Details
-
customOpenApi
Provides the Open API information.- Returns:
- The Open API information.
-
openApiInfo
protected io.swagger.v3.oas.models.info.Info openApiInfo()Provides the OpenAPI information.- Returns:
- The OpenAPI information.
-