Added two space indent for the line continuation.

This commit is contained in:
Umang Budhwar 2020-09-01 19:13:34 +05:30
parent 9aae16fb44
commit b8bcbeee90
1 changed files with 19 additions and 19 deletions

View File

@ -30,10 +30,10 @@ public class SwaggerConfiguration {
@Bean @Bean
public Docket api() { public Docket api() {
return new Docket(DocumentationType.SWAGGER_2).apiInfo(apiInfo()) return new Docket(DocumentationType.SWAGGER_2).apiInfo(apiInfo())
.select() .select()
.apis(RequestHandlerSelectors.any()) .apis(RequestHandlerSelectors.any())
.paths(PathSelectors.any()) .paths(PathSelectors.any())
.build(); .build();
} }
/** /**
@ -43,21 +43,21 @@ public class SwaggerConfiguration {
@Bean @Bean
UiConfiguration uiConfig() { UiConfiguration uiConfig() {
return UiConfigurationBuilder.builder() return UiConfigurationBuilder.builder()
.deepLinking(true) .deepLinking(true)
.displayOperationId(false) .displayOperationId(false)
.defaultModelsExpandDepth(1) .defaultModelsExpandDepth(1)
.defaultModelExpandDepth(1) .defaultModelExpandDepth(1)
.defaultModelRendering(ModelRendering.EXAMPLE) .defaultModelRendering(ModelRendering.EXAMPLE)
.displayRequestDuration(false) .displayRequestDuration(false)
.docExpansion(DocExpansion.NONE) .docExpansion(DocExpansion.NONE)
.filter(false) .filter(false)
.maxDisplayedTags(null) .maxDisplayedTags(null)
.operationsSorter(OperationsSorter.ALPHA) .operationsSorter(OperationsSorter.ALPHA)
.showExtensions(false) .showExtensions(false)
.tagsSorter(TagsSorter.ALPHA) .tagsSorter(TagsSorter.ALPHA)
.supportedSubmitMethods(UiConfiguration.Constants.DEFAULT_SUBMIT_METHODS) .supportedSubmitMethods(UiConfiguration.Constants.DEFAULT_SUBMIT_METHODS)
.validatorUrl(null) .validatorUrl(null)
.build(); .build();
} }
} }