update tests

This commit is contained in:
Stefan
2024-12-25 12:15:44 +01:00
parent fcda0a8a03
commit e28926a7b9
2 changed files with 2 additions and 98 deletions
+1 -49
View File
@@ -6,55 +6,7 @@
"id": "4354dede-b4ed-4a57-9b80-45c1e33e2326",
"name": "request",
"content": {
"schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Generated schema for Root",
"type": "object",
"properties": {
"color": {
"enum": [
"red",
"blue",
"green"
]
},
"customer": {
"type": "object",
"properties": {
"firstName": {
"description": "Customer first name",
"type": "string",
"minimum": 1
},
"lastName": {
"description": "Customer last name",
"type": "string",
"minimum": 1
},
"email": {
"description": "Customer email",
"type": "string",
"format": "email"
},
"age": {
"description": "Customer age",
"type": "number",
"minimum": 18
}
},
"required": [
"firstName",
"lastName",
"email",
"age"
]
}
},
"required": [
"color",
"customer"
]
}
"schema": "{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"title\":\"Generated schema for Root\",\"type\":\"object\",\"properties\":{\"color\":{\"enum\":[\"red\",\"blue\",\"green\"]},\"customer\":{\"type\":\"object\",\"properties\":{\"firstName\":{\"description\":\"Customer first name\",\"type\":\"string\",\"minimum\":1},\"lastName\":{\"description\":\"Customer last name\",\"type\":\"string\",\"minimum\":1},\"email\":{\"description\":\"Customer email\",\"type\":\"string\",\"format\":\"email\"},\"age\":{\"description\":\"Customer age\",\"type\":\"number\",\"minimum\":18}},\"required\":[\"firstName\",\"lastName\",\"email\",\"age\"]}},\"required\":[\"color\",\"customer\"]}"
},
"position": {
"x": 90,
+1 -49
View File
@@ -15,55 +15,7 @@
"id": "27e18970-f565-43eb-859e-568c9f53b7a8",
"name": "response",
"content": {
"schema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Generated schema for Root",
"type": "object",
"properties": {
"color": {
"enum": [
"red",
"blue",
"green"
]
},
"customer": {
"type": "object",
"properties": {
"firstName": {
"description": "Customer first name",
"type": "string",
"minimum": 1
},
"lastName": {
"description": "Customer last name",
"type": "string",
"minimum": 1
},
"email": {
"description": "Customer email",
"type": "string",
"format": "email"
},
"age": {
"description": "Customer age",
"type": "number",
"minimum": 18
}
},
"required": [
"firstName",
"lastName",
"email",
"age"
]
}
},
"required": [
"color",
"customer"
]
}
"schema": "{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"title\":\"Generated schema for Root\",\"type\":\"object\",\"properties\":{\"color\":{\"enum\":[\"red\",\"blue\",\"green\"]},\"customer\":{\"type\":\"object\",\"properties\":{\"firstName\":{\"description\":\"Customer first name\",\"type\":\"string\",\"minimum\":1},\"lastName\":{\"description\":\"Customer last name\",\"type\":\"string\",\"minimum\":1},\"email\":{\"description\":\"Customer email\",\"type\":\"string\",\"format\":\"email\"},\"age\":{\"description\":\"Customer age\",\"type\":\"number\",\"minimum\":18}},\"required\":[\"firstName\",\"lastName\",\"email\",\"age\"]}},\"required\":[\"color\",\"customer\"]}"
},
"position": {
"x": 510,