implement further integration tests on person and relationship creation

This commit is contained in:
2025-04-22 22:47:37 +02:00
parent 23da2c2186
commit 92c1d29ace
26 changed files with 523 additions and 111 deletions

View File

@@ -116,8 +116,11 @@
"person": {
"$ref": "#/components/schemas/Person"
},
"relationship": {
"$ref": "#/components/schemas/Relationship"
"relationships": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Relationship"
}
}
}
}
@@ -169,14 +172,6 @@
"schema": {
"type": "integer"
}
},
{
"name": "X-User-Name",
"in": "header",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
@@ -2560,6 +2555,9 @@
"Id": {
"type": "integer"
},
"ElementId": {
"type": "string"
},
"Labels": {
"type": "array",
"items": {
@@ -2597,23 +2595,24 @@
"Relationship": {
"type": "object",
"properties": {
"Id": {
"id": {
"type": "integer"
},
"Label": {
"type": "string"
},
"Type": {
"type": {
"type": "string",
"nullable": true
},
"Start": {
"label":{
"type": "string",
"nullable": true
},
"start": {
"type": "integer"
},
"End": {
"end": {
"type": "integer"
},
"Props": {
"properties": {
"$ref": "#/components/schemas/FamilyRelationship"
}
}
@@ -2766,6 +2765,9 @@
"Id": {
"type": "integer"
},
"ElementId":{
"type": "string"
},
"Labels": {
"type": "array",
"items": {
@@ -2783,13 +2785,19 @@
"Id": {
"type": "integer"
},
"Label": {
"Type": {
"type": "string"
},
"Start": {
"StartId": {
"type": "integer"
},
"StartElementId": {
"type": "string"
},
"End": {
"EndId": {
"type": "integer"
},
"EndElementId": {
"type": "string"
},
"Props": {
@@ -2820,13 +2828,19 @@
"Id": {
"type": "integer"
},
"Label": {
"Type": {
"type": "string"
},
"Start": {
"StartId": {
"type": "integer"
},
"StartElementId": {
"type": "string"
},
"End": {
"EndId": {
"type": "integer"
},
"EndElementId": {
"type": "string"
},
"Props": {