java.lang.Object
org.example.crmedu.infrastructure.configuration.SwaggerConfig

@Configuration public class SwaggerConfig extends Object
This class defines the OpenAPI specification, including API metadata and security configuration for JWT-based authentication.
  • 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.