diff --git a/api/openapi.json b/api/openapi.json index 5ca44d9..71f9eb8 100644 --- a/api/openapi.json +++ b/api/openapi.json @@ -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" }