mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-23 19:01:47 +00:00
support deprecated flag in json schema (#6022)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"$schema": "https://json-schema.org/draft/2019-09/schema",
|
||||
"definitions": {
|
||||
"MyGame_Example_TestEnum" : {
|
||||
"type" : "string",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"$schema": "https://json-schema.org/draft/2019-09/schema",
|
||||
"definitions": {
|
||||
"MyGame_OtherNameSpace_FromInclude" : {
|
||||
"type" : "string",
|
||||
@@ -162,7 +162,8 @@
|
||||
"type" : "string"
|
||||
},
|
||||
"friendly" : {
|
||||
"type" : "boolean"
|
||||
"type" : "boolean",
|
||||
"deprecated" : true,
|
||||
},
|
||||
"inventory" : {
|
||||
"type" : "array", "items" : { "type" : "number" }
|
||||
|
||||
Reference in New Issue
Block a user