Skip to content

Commit 54ebe32

Browse files
committed
feat: make givenName and familyName optional
Drop them from the default human user schema's `required` array. Profile fields are demo data — keeping them optional means a minimal registration payload (email + password) still validates.
1 parent 21909c6 commit 54ebe32

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

api/openapi/endpoints/schemas/examples/default-human-user-schema.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@
1818
},
1919
"required": [
2020
"email",
21-
"password",
22-
"givenName",
23-
"familyName"
21+
"password"
2422
],
2523
"properties": {
2624
"email": {

0 commit comments

Comments
 (0)