mirror of
https://github.com/gorules/zen.git
synced 2026-10-04 16:02:18 +00:00
update tests
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user