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