Class SwaggerConfig
java.lang.Object
de.hybris.platform.cmssmarteditwebservices.config.SwaggerConfig
Configuration for swagger api documentation
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionspringfox.documentation.spring.web.plugins.Docketprotected springfox.documentation.service.ApiInfoapiInfo()protected springfox.documentation.service.OAuthprotected List<springfox.documentation.service.SecurityReference>protected springfox.documentation.service.ResponseMessagegenericMessage(org.springframework.http.HttpStatus httpStatus) protected ApiVendorExtensionServiceprotected springfox.documentation.service.AuthorizationScopeprotected Stringprotected StringgetHost()protected StringgetPropertyValue(String propertyName) protected List<springfox.documentation.service.ResponseMessage>protected List<springfox.documentation.service.ResponseMessage>protected List<springfox.documentation.service.ResponseMessage>protected List<springfox.documentation.service.ResponseMessage>protected springfox.documentation.service.OAuthprotected springfox.documentation.spi.service.contexts.SecurityContextvoidsetConfigurationService(ConfigurationService configurationService) protected springfox.documentation.service.ResponseMessage
-
Field Details
-
UNAUTHORIZED_MESSAGE
- See Also:
-
-
Constructor Details
-
SwaggerConfig
public SwaggerConfig()
-
-
Method Details
-
apiDocumentation
@Bean public springfox.documentation.spring.web.plugins.Docket apiDocumentation() -
apiInfo
protected springfox.documentation.service.ApiInfo apiInfo() -
passwordFlow
protected springfox.documentation.service.OAuth passwordFlow() -
clientCredentialFlow
protected springfox.documentation.service.OAuth clientCredentialFlow() -
unauthorizedResponseMessage
protected springfox.documentation.service.ResponseMessage unauthorizedResponseMessage() -
genericMessage
protected springfox.documentation.service.ResponseMessage genericMessage(org.springframework.http.HttpStatus httpStatus) -
globalGETResponseMessages
-
globalPUTResponseMessages
-
globalPOSTResponseMessages
-
globalDETELEResponseMessages
-
securityContext
protected springfox.documentation.spi.service.contexts.SecurityContext securityContext() -
defaultAuth
-
getPropertyValue
-
getAuthorizationScope
-
getHost
-
getAuthorizationUrl
-
getConfigurationService
-
setConfigurationService
-
getApiVendorExtensionService
-