mirror of
https://github.com/vcscsvcscs/GenerationsHeritage.git
synced 2025-08-13 22:39:06 +02:00
add relationship type enum
This commit is contained in:
@@ -89,6 +89,10 @@
|
||||
"person": {
|
||||
"$ref": "#/components/schemas/PersonRegistration"
|
||||
},
|
||||
"type":{
|
||||
"type": "string",
|
||||
"enum": ["child", "parent", "spouse", "sibling"]
|
||||
},
|
||||
"relationship": {
|
||||
"$ref": "#/components/schemas/FamilyRelationship"
|
||||
}
|
||||
@@ -165,6 +169,14 @@
|
||||
"schema": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "X-User-Name",
|
||||
"in": "header",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
],
|
||||
"requestBody": {
|
||||
@@ -859,6 +871,10 @@
|
||||
"id2": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": ["child", "parent", "spouse", "sibling"]
|
||||
},
|
||||
"relationship": {
|
||||
"$ref": "#/components/schemas/FamilyRelationship"
|
||||
}
|
||||
|
Reference in New Issue
Block a user