Splitted apiInfo to multiple lines.

This commit is contained in:
Umang Budhwar
2020-08-29 13:05:31 +05:30
parent 77b3a732d0
commit 2592d276c2

View File

@@ -22,7 +22,9 @@ import springfox.documentation.swagger.web.UiConfigurationBuilder;
public class SwaggerConfiguration {
private ApiInfo apiInfo() {
return new ApiInfo("My REST API", "Some custom description of API.", "API TOS", "Terms of service", new Contact("Umang Budhwar", "www.baeldung.com", "umangbudhwar@gmail.com"), "License of API", "API license URL", Collections.emptyList());
return new ApiInfo("My REST API", "Some custom description of API.", "API TOS", "Terms of service",
new Contact("Umang Budhwar", "www.baeldung.com", "umangbudhwar@gmail.com"),
"License of API", "API license URL", Collections.emptyList());
}
@Bean