Class SwaggerConfig
- java.lang.Object
-
- de.hybris.platform.cmssmarteditwebservices.config.SwaggerConfig
-
@EnableSwagger2 @Component public class SwaggerConfig extends java.lang.ObjectConfiguration for swagger api documentation
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringUNAUTHORIZED_MESSAGE
-
Constructor Summary
Constructors Constructor Description SwaggerConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description springfox.documentation.spring.web.plugins.DocketapiDocumentation()protected springfox.documentation.service.ApiInfoapiInfo()protected springfox.documentation.service.OAuthclientCredentialFlow()protected java.util.List<springfox.documentation.service.SecurityReference>defaultAuth()protected springfox.documentation.service.ResponseMessagegenericMessage(org.springframework.http.HttpStatus httpStatus)protected ApiVendorExtensionServicegetApiVendorExtensionService()protected springfox.documentation.service.AuthorizationScopegetAuthorizationScope(java.lang.String key)protected java.lang.StringgetAuthorizationUrl()ConfigurationServicegetConfigurationService()protected java.lang.StringgetHost()protected java.lang.StringgetPropertyValue(java.lang.String propertyName)protected java.util.List<springfox.documentation.service.ResponseMessage>globalDETELEResponseMessages()protected java.util.List<springfox.documentation.service.ResponseMessage>globalGETResponseMessages()protected java.util.List<springfox.documentation.service.ResponseMessage>globalPOSTResponseMessages()protected java.util.List<springfox.documentation.service.ResponseMessage>globalPUTResponseMessages()protected springfox.documentation.service.OAuthpasswordFlow()protected springfox.documentation.spi.service.contexts.SecurityContextsecurityContext()voidsetConfigurationService(ConfigurationService configurationService)protected springfox.documentation.service.ResponseMessageunauthorizedResponseMessage()
-
-
-
Field Detail
-
UNAUTHORIZED_MESSAGE
public static final java.lang.String UNAUTHORIZED_MESSAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
protected java.util.List<springfox.documentation.service.ResponseMessage> globalGETResponseMessages()
-
globalPUTResponseMessages
protected java.util.List<springfox.documentation.service.ResponseMessage> globalPUTResponseMessages()
-
globalPOSTResponseMessages
protected java.util.List<springfox.documentation.service.ResponseMessage> globalPOSTResponseMessages()
-
globalDETELEResponseMessages
protected java.util.List<springfox.documentation.service.ResponseMessage> globalDETELEResponseMessages()
-
securityContext
protected springfox.documentation.spi.service.contexts.SecurityContext securityContext()
-
defaultAuth
protected java.util.List<springfox.documentation.service.SecurityReference> defaultAuth()
-
getPropertyValue
protected java.lang.String getPropertyValue(java.lang.String propertyName)
-
getAuthorizationScope
protected springfox.documentation.service.AuthorizationScope getAuthorizationScope(java.lang.String key)
-
getHost
protected java.lang.String getHost()
-
getAuthorizationUrl
protected java.lang.String getAuthorizationUrl()
-
getConfigurationService
public ConfigurationService getConfigurationService()
-
setConfigurationService
public void setConfigurationService(ConfigurationService configurationService)
-
getApiVendorExtensionService
protected ApiVendorExtensionService getApiVendorExtensionService()
-
-