Springfox - PR review fixes
This commit is contained in:
parent
c7e8eb29ef
commit
848abce396
@ -50,8 +50,14 @@ public class SpringfoxApplication {
|
||||
}
|
||||
|
||||
private ApiInfo apiInfo() {
|
||||
return new ApiInfo("Springfox API specification", "User REST and Spring Data APIs",
|
||||
"", "", null, "License of API", "API license URL", Collections.emptyList());
|
||||
return new ApiInfo("Springfox API specification",
|
||||
"User REST and Spring Data APIs",
|
||||
"",
|
||||
"",
|
||||
null,
|
||||
"License of API",
|
||||
"API license URL",
|
||||
Collections.emptyList());
|
||||
}
|
||||
|
||||
@Bean
|
||||
|
@ -8,7 +8,7 @@ import javax.validation.constraints.NotNull;
|
||||
import javax.persistence.Entity;
|
||||
|
||||
@Entity
|
||||
public class User{
|
||||
public class User {
|
||||
|
||||
@Id
|
||||
private Long id;
|
||||
@ -55,4 +55,4 @@ public class User{
|
||||
this.age = age;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user