Package vaultWeb.config
Class OpenApiConfig
java.lang.Object
vaultWeb.config.OpenApiConfig
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.swagger.v3.oas.models.OpenAPICreates a custom OpenAPI instance with JWT bearer authentication configured.
-
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
-