Splitted apiInfo to multiple lines.

This commit is contained in:
Umang Budhwar 2020-08-29 13:05:31 +05:30
parent 97252050f4
commit e878b28d98
1 changed files with 3 additions and 1 deletions

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