Class OpenApiConfig

java.lang.Object
vaultWeb.config.OpenApiConfig

@Configuration public class OpenApiConfig extends Object
Configuration class for OpenAPI / Swagger documentation.

Sets up JWT bearer authentication for the API documentation, allowing secured endpoints to be tested via Swagger UI.

  • Constructor Details

    • OpenApiConfig

      public OpenApiConfig()
  • Method Details

    • customOpenAPI

      @Bean public io.swagger.v3.oas.models.OpenAPI customOpenAPI()
      Creates a custom OpenAPI instance with JWT bearer authentication configured.
      Returns:
      the configured OpenAPI object