Skip to content

Commit

Permalink
User dateOfBirth is int in Swagger interface
Browse files Browse the repository at this point in the history
  • Loading branch information
oharsta committed Oct 9, 2024
1 parent 7bc67cd commit b5a98a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions myconext-server/src/main/java/myconext/model/User.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.yubico.webauthn.data.ByteArray;
import com.yubico.webauthn.data.PublicKeyCredentialDescriptor;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
Expand Down Expand Up @@ -46,6 +47,7 @@ public class User implements Serializable, UserDetails {
@Setter
private String familyName;
@Setter
@Schema(type = "integer", format = "int64", example = "1634813554997")
private Date dateOfBirth;
@Indexed
private String uid;
Expand Down

1 comment on commit b5a98a7

@phavekes
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.