Class SwaggerConfig
- java.lang.Object
-
- com.hybris.ymkt.segmentation.swagger.SwaggerConfig
-
@EnableSwagger2 @Component public class SwaggerConfig extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringAPI_VERSIONstatic java.lang.StringAUTHORIZATION_SCOPE_PROPERTYstatic java.lang.StringAUTHORIZATION_URLstatic java.lang.StringCLIENT_CREDENTIAL_AUTHORIZATION_NAMEstatic java.lang.StringDOCUMENTATION_DESC_PROPERTYstatic java.lang.StringDOCUMENTATION_TITLE_PROPERTYstatic java.lang.StringLICENSE_PROPERTYstatic java.lang.StringLICENSE_URL_PROPERTYstatic java.lang.StringTERMS_OF_SERVICE_URL_PROPERTY
-
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.lang.StringgetPropertyValue(java.lang.String propertyName)protected springfox.documentation.spi.service.contexts.SecurityContextoauthSecurityContext()protected springfox.documentation.service.OAuthpasswordFlow()protected java.util.List<springfox.documentation.service.SecurityReference>securityReferences()
-
-
-
Field Detail
-
AUTHORIZATION_SCOPE_PROPERTY
public static final java.lang.String AUTHORIZATION_SCOPE_PROPERTY
- See Also:
- Constant Field Values
-
LICENSE_URL_PROPERTY
public static final java.lang.String LICENSE_URL_PROPERTY
- See Also:
- Constant Field Values
-
TERMS_OF_SERVICE_URL_PROPERTY
public static final java.lang.String TERMS_OF_SERVICE_URL_PROPERTY
- See Also:
- Constant Field Values
-
LICENSE_PROPERTY
public static final java.lang.String LICENSE_PROPERTY
- See Also:
- Constant Field Values
-
DOCUMENTATION_DESC_PROPERTY
public static final java.lang.String DOCUMENTATION_DESC_PROPERTY
- See Also:
- Constant Field Values
-
DOCUMENTATION_TITLE_PROPERTY
public static final java.lang.String DOCUMENTATION_TITLE_PROPERTY
- See Also:
- Constant Field Values
-
API_VERSION
public static final java.lang.String API_VERSION
- See Also:
- Constant Field Values
-
AUTHORIZATION_URL
public static final java.lang.String AUTHORIZATION_URL
- See Also:
- Constant Field Values
-
CLIENT_CREDENTIAL_AUTHORIZATION_NAME
public static final java.lang.String CLIENT_CREDENTIAL_AUTHORIZATION_NAME
- 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()
-
getPropertyValue
protected java.lang.String getPropertyValue(java.lang.String propertyName)
-
oauthSecurityContext
protected springfox.documentation.spi.service.contexts.SecurityContext oauthSecurityContext()
-
securityReferences
protected java.util.List<springfox.documentation.service.SecurityReference> securityReferences()
-
-