Class SwaggerConfig
- java.lang.Object
-
- de.hybris.platform.cmswebservices.config.SwaggerConfig
-
@EnableSwagger2 @Component public class SwaggerConfig extends java.lang.Object
-
-
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.ResponseMessagegenericMessage(org.springframework.http.HttpStatus httpStatus)ConfigurationServicegetConfigurationService()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.spi.service.contexts.SecurityContextoauthSecurityContext()protected java.util.List<springfox.documentation.service.SecurityReference>oauthSecurityReferences()protected springfox.documentation.service.OAuthpasswordSecurityScheme()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()
-
passwordSecurityScheme
protected springfox.documentation.service.OAuth passwordSecurityScheme()
-
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()
-
oauthSecurityContext
protected springfox.documentation.spi.service.contexts.SecurityContext oauthSecurityContext()
-
oauthSecurityReferences
protected java.util.List<springfox.documentation.service.SecurityReference> oauthSecurityReferences()
-
getPropertyValue
protected java.lang.String getPropertyValue(java.lang.String propertyName)
-
getConfigurationService
public ConfigurationService getConfigurationService()
-
setConfigurationService
public void setConfigurationService(ConfigurationService configurationService)
-
-