java.lang.Object
de.hybris.platform.cmssmarteditwebservices.config.SwaggerConfig

@EnableSwagger2 @Component public class SwaggerConfig extends Object
Configuration for swagger api documentation
  • Field Details

  • 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

      protected List<springfox.documentation.service.ResponseMessage> globalGETResponseMessages()
    • globalPUTResponseMessages

      protected List<springfox.documentation.service.ResponseMessage> globalPUTResponseMessages()
    • globalPOSTResponseMessages

      protected List<springfox.documentation.service.ResponseMessage> globalPOSTResponseMessages()
    • globalDETELEResponseMessages

      protected List<springfox.documentation.service.ResponseMessage> globalDETELEResponseMessages()
    • securityContext

      protected springfox.documentation.spi.service.contexts.SecurityContext securityContext()
    • defaultAuth

      protected List<springfox.documentation.service.SecurityReference> defaultAuth()
    • getPropertyValue

      protected String getPropertyValue(String propertyName)
    • getAuthorizationScope

      protected springfox.documentation.service.AuthorizationScope getAuthorizationScope(String key)
    • getHost

      protected String getHost()
    • getAuthorizationUrl

      protected String getAuthorizationUrl()
    • getConfigurationService

      public ConfigurationService getConfigurationService()
    • setConfigurationService

      public void setConfigurationService(ConfigurationService configurationService)
    • getApiVendorExtensionService

      protected ApiVendorExtensionService getApiVendorExtensionService()