Class SwaggerConfig
java.lang.Object
org.example.crmedu.infrastructure.configuration.SwaggerConfig
This class defines the OpenAPI specification, including API metadata and security configuration for JWT-based authentication.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.swagger.v3.oas.models.OpenAPI
Configures the OpenAPI specification with authentication support.
-
Constructor Details
-
SwaggerConfig
public SwaggerConfig()
-
-
Method Details
-
customOpenAPI
@Bean public io.swagger.v3.oas.models.OpenAPI customOpenAPI()Configures the OpenAPI specification with authentication support.- Returns:
- the configured
OpenAPI
instance.
-