Class BaseOpenApiConfig

java.lang.Object
at.jku.dke.etutor.task_app.config.BaseOpenApiConfig

public abstract class BaseOpenApiConfig extends Object
Base class for OpenAPI configuration.

Override this class and add the Configuration annotation to the subclass.

  • Constructor Details

    • BaseOpenApiConfig

      protected BaseOpenApiConfig(String title, String description, String version)
      Creates a new instance of class BaseOpenApiConfig.
      Parameters:
      title - The title of the API documentation.
      description - The description of the API.
      version - The version of the API.
  • Method Details

    • customOpenApi

      @Bean public io.swagger.v3.oas.models.OpenAPI 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.