Class SwaggerAutoConfiguration
java.lang.Object
com.netflix.genie.swagger.spring.autoconfigure.SwaggerAutoConfiguration
Spring configuration for Swagger via Spring Doc.
- Since:
- 4.2.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springdoc.core.GroupedOpenApi
Bean for the V3 API documentation.io.swagger.v3.oas.models.OpenAPI
Configure OpenAPI specification.
-
Constructor Details
-
SwaggerAutoConfiguration
public SwaggerAutoConfiguration()
-
-
Method Details
-
genieV3ApiGroup
@Bean @ConditionalOnMissingBean(name="genieV3ApiGroup") public org.springdoc.core.GroupedOpenApi genieV3ApiGroup()Bean for the V3 API documentation.- Returns:
- Instance of
GroupedOpenApi
for the V3 endpoints
-
springShopOpenAPI
@Bean @ConditionalOnMissingBean(io.swagger.v3.oas.models.OpenAPI.class) public io.swagger.v3.oas.models.OpenAPI springShopOpenAPI()Configure OpenAPI specification.- Returns:
- The
OpenAPI
instance and description
-