Package com.skava.ratingandreviews
Class RatingsAndReviewsApplication
java.lang.Object
com.skava.ratingandreviews.RatingsAndReviewsApplication
@EntityScan(basePackages={"com.skava","${spring.additionalPackages.scan}"})
@SpringBootApplication(scanBasePackages="com.skava,${spring.additionalPackages.scan}")
@PropertySources(@PropertySource(value={"classpath:swagger-docs.yml","${spring.additonal-swagger-doc.ymls}"},factory=com.skava.core.yaml.YamlPropertySourceFactory.class))
public class RatingsAndReviewsApplication
extends Object
ListApplication class
The Class ListApplication is shoppers to create personalized collections of products they want to buy and save them in their user account for future reference.
-
Constructor Summary
ConstructorsConstructorDescriptionRatingsAndReviewsApplication
(com.skava.core.configuration.SwaggerGlobalParameters globalParamProps) -
Method Summary
Modifier and TypeMethodDescriptionorg.springdoc.core.customizers.OperationCustomizer
static void
The List application is responsible for launching the Spring boot application.org.springframework.web.multipart.MultipartResolver
io.swagger.v3.oas.models.OpenAPI
openApi
(org.springdoc.core.properties.SpringDocConfigProperties springDocConfigProperties) Docket bean in a Spring Boot configuration to configure Swagger 2 for the application.splitCommaSeparatedString
(String commaSepratedString)
-
Constructor Details
-
RatingsAndReviewsApplication
@Autowired public RatingsAndReviewsApplication(com.skava.core.configuration.SwaggerGlobalParameters globalParamProps)
-
-
Method Details
-
main
The List application is responsible for launching the Spring boot application.- Parameters:
args
- arguments passed to the run method.
-
multipartResolver
@Lazy @Bean public org.springframework.web.multipart.MultipartResolver multipartResolver() -
openApi
@Lazy @Bean public io.swagger.v3.oas.models.OpenAPI openApi(org.springdoc.core.properties.SpringDocConfigProperties springDocConfigProperties) Docket bean in a Spring Boot configuration to configure Swagger 2 for the application. A Springfox Docket instance provides the primary API configuration with sensible defaults and convenience methods for configuration. Our Spring Boot configuration class, SwaggerConfig is this- Returns:
- The Swagger information of the address validation service.
-
customize
@Lazy @Bean public org.springdoc.core.customizers.OperationCustomizer customize() -
splitCommaSeparatedString
-