Regenerate integration test expected json
This commit is contained in:
parent
7e8f5b6785
commit
505c369f27
8 changed files with 77 additions and 77 deletions
|
@ -2,6 +2,13 @@
|
||||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||||
"title": "ChronoTypes",
|
"title": "ChronoTypes",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
"required": [
|
||||||
|
"date_time",
|
||||||
|
"naive_date",
|
||||||
|
"naive_date_time",
|
||||||
|
"naive_time",
|
||||||
|
"weekday"
|
||||||
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
"date_time": {
|
"date_time": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
@ -31,12 +38,5 @@
|
||||||
"Sun"
|
"Sun"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
"required": [
|
|
||||||
"date_time",
|
|
||||||
"naive_date",
|
|
||||||
"naive_date_time",
|
|
||||||
"naive_time",
|
|
||||||
"weekday"
|
|
||||||
]
|
|
||||||
}
|
}
|
|
@ -2,6 +2,11 @@
|
||||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||||
"title": "MyStruct",
|
"title": "MyStruct",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
"required": [
|
||||||
|
"camelCase",
|
||||||
|
"new_name_1",
|
||||||
|
"new_name_2"
|
||||||
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
"camelCase": {
|
"camelCase": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
|
@ -15,10 +20,5 @@
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
"required": [
|
|
||||||
"camelCase",
|
|
||||||
"new_name_1",
|
|
||||||
"new_name_2"
|
|
||||||
]
|
|
||||||
}
|
}
|
|
@ -2,6 +2,31 @@
|
||||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||||
"title": "Process",
|
"title": "Process",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
"definitions": {
|
||||||
|
"DurationDef": {
|
||||||
|
"type": "object",
|
||||||
|
"required": [
|
||||||
|
"nanos",
|
||||||
|
"secs"
|
||||||
|
],
|
||||||
|
"properties": {
|
||||||
|
"nanos": {
|
||||||
|
"type": "integer",
|
||||||
|
"format": "int32"
|
||||||
|
},
|
||||||
|
"secs": {
|
||||||
|
"type": "integer",
|
||||||
|
"format": "int64"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"command_line",
|
||||||
|
"system_cpu_time",
|
||||||
|
"user_cpu_time",
|
||||||
|
"wall_time"
|
||||||
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
"command_line": {
|
"command_line": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
@ -15,30 +40,5 @@
|
||||||
"wall_time": {
|
"wall_time": {
|
||||||
"$ref": "#/definitions/DurationDef"
|
"$ref": "#/definitions/DurationDef"
|
||||||
}
|
}
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"command_line",
|
|
||||||
"system_cpu_time",
|
|
||||||
"user_cpu_time",
|
|
||||||
"wall_time"
|
|
||||||
],
|
|
||||||
"definitions": {
|
|
||||||
"DurationDef": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"nanos": {
|
|
||||||
"type": "integer",
|
|
||||||
"format": "int32"
|
|
||||||
},
|
|
||||||
"secs": {
|
|
||||||
"type": "integer",
|
|
||||||
"format": "int64"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"nanos",
|
|
||||||
"secs"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -2,6 +2,18 @@
|
||||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||||
"title": "a-new-name-Array_Of_String-Integer-Integer",
|
"title": "a-new-name-Array_Of_String-Integer-Integer",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
"definitions": {
|
||||||
|
"another-new-name": {
|
||||||
|
"type": "object"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"inner",
|
||||||
|
"t",
|
||||||
|
"u",
|
||||||
|
"v",
|
||||||
|
"w"
|
||||||
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
"inner": {
|
"inner": {
|
||||||
"$ref": "#/definitions/another-new-name"
|
"$ref": "#/definitions/another-new-name"
|
||||||
|
@ -22,17 +34,5 @@
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"inner",
|
|
||||||
"t",
|
|
||||||
"u",
|
|
||||||
"v",
|
|
||||||
"w"
|
|
||||||
],
|
|
||||||
"definitions": {
|
|
||||||
"another-new-name": {
|
|
||||||
"type": "object"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -2,6 +2,18 @@
|
||||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||||
"title": "MyStruct_For_Integer_And_Null_And_Boolean_And_Array_Of_String",
|
"title": "MyStruct_For_Integer_And_Null_And_Boolean_And_Array_Of_String",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
"definitions": {
|
||||||
|
"MySimpleStruct": {
|
||||||
|
"type": "object"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"inner",
|
||||||
|
"t",
|
||||||
|
"u",
|
||||||
|
"v",
|
||||||
|
"w"
|
||||||
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
"inner": {
|
"inner": {
|
||||||
"$ref": "#/definitions/MySimpleStruct"
|
"$ref": "#/definitions/MySimpleStruct"
|
||||||
|
@ -22,17 +34,5 @@
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"inner",
|
|
||||||
"t",
|
|
||||||
"u",
|
|
||||||
"v",
|
|
||||||
"w"
|
|
||||||
],
|
|
||||||
"definitions": {
|
|
||||||
"MySimpleStruct": {
|
|
||||||
"type": "object"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -9,15 +9,15 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
"required": [
|
||||||
|
"Included1"
|
||||||
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
"Included1": {
|
"Included1": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"format": "float"
|
"format": "float"
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
"required": [
|
|
||||||
"Included1"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
|
@ -2,6 +2,10 @@
|
||||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||||
"title": "MyStruct",
|
"title": "MyStruct",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
"required": [
|
||||||
|
"included1",
|
||||||
|
"included2"
|
||||||
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
"included1": {
|
"included1": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
|
@ -10,9 +14,5 @@
|
||||||
"included2": {
|
"included2": {
|
||||||
"type": "null"
|
"type": "null"
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
"required": [
|
|
||||||
"included1",
|
|
||||||
"included2"
|
|
||||||
]
|
|
||||||
}
|
}
|
|
@ -2,6 +2,10 @@
|
||||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||||
"title": "Struct",
|
"title": "Struct",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
"required": [
|
||||||
|
"bar",
|
||||||
|
"foo"
|
||||||
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
"bar": {
|
"bar": {
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
|
@ -10,9 +14,5 @@
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
"required": [
|
|
||||||
"bar",
|
|
||||||
"foo"
|
|
||||||
]
|
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue