Class OpenApiConfiguration
java.lang.Object
com.dmasone.identity.ecommerceapp.config.OpenApiConfiguration
@Configuration
@EnableConfigurationProperties(OpenApiProperties.class)
public class OpenApiConfiguration
extends Object
Creates the OpenAPI model from metadata loaded through
openapi.yaml.
Endpoint matching, grouping, and Swagger UI paths are configured directly
with springdoc properties in that same YAML file.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springdoc.core.customizers.OperationCustomizerAdds the shared error body to documented error responses from module controllers without making business modules depend on the app web DTO.io.swagger.v3.oas.models.OpenAPIecommerceOpenApi(OpenApiProperties properties)
-
Constructor Details
-
OpenApiConfiguration
public OpenApiConfiguration()
-
-
Method Details
-
ecommerceOpenApi
-
apiErrorResponseCustomizer
@Bean public org.springdoc.core.customizers.OperationCustomizer apiErrorResponseCustomizer()Adds the shared error body to documented error responses from module controllers without making business modules depend on the app web DTO.
-