mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-28 13:40:03 +00:00
idl_gen_json_schema.cpp: Changed generation of array element types (#6253)
* idl_gen_json_schema.cpp: Changed generation of array element types #6175 * idl_gen_json_schema.cpp: Simplified indent generation as suggested by @vglavnyy #6175
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
"$ref" : "#/definitions/MyGame_Example_TestEnum"
|
||||
},
|
||||
"c" : {
|
||||
"$ref" : "#/definitions/MyGame_Example_TestEnum",
|
||||
"type" : "array", "items" : {"$ref" : "#/definitions/MyGame_Example_TestEnum"},
|
||||
"minItems": 2,
|
||||
"maxItems": 2
|
||||
},
|
||||
@@ -44,7 +44,7 @@
|
||||
"type" : "integer", "minimum" : -128, "maximum" : 127"
|
||||
},
|
||||
"d" : {
|
||||
"$ref" : "#/definitions/MyGame_Example_NestedStruct",
|
||||
"type" : "array", "items" : {"$ref" : "#/definitions/MyGame_Example_NestedStruct"},
|
||||
"minItems": 2,
|
||||
"maxItems": 2
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user