swagger-ui on, user email unique
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 2s
Details
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 2s
Details
This commit is contained in:
parent
bbdb6e860f
commit
c9970eb2e5
|
|
@ -10,6 +10,7 @@ data class User(
|
||||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||||
val id: Long?,
|
val id: Long?,
|
||||||
|
|
||||||
|
@Column(unique = true)
|
||||||
val email: String,
|
val email: String,
|
||||||
|
|
||||||
val password: String,
|
val password: String,
|
||||||
|
|
|
||||||
|
|
@ -15,4 +15,4 @@ server:
|
||||||
port: ${SPRING_PORT}
|
port: ${SPRING_PORT}
|
||||||
springdoc:
|
springdoc:
|
||||||
swagger-ui:
|
swagger-ui:
|
||||||
enabled: false
|
enabled: true
|
||||||
Loading…
Reference in New Issue