jsonschema: marshal to bools (#247)
Marshal the empty schema to true, and its negation to false. This is technically a breaking behavior change, but a properly written consumer of JSON Schema will not notice. For #244. Fixes #230.
This commit is contained in:
parent
bb9087d252
commit
c132621eb0
1 changed files with 18 additions and 7 deletions
4
mcp/testdata/conformance/server/tools.txtar
vendored
4
mcp/testdata/conformance/server/tools.txtar
vendored
|
|
@ -59,9 +59,7 @@ greet
|
|||
"type": "string"
|
||||
}
|
||||
},
|
||||
"additionalProperties": {
|
||||
"not": {}
|
||||
}
|
||||
"additionalProperties": false
|
||||
},
|
||||
"name": "greet"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue