-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Open
Labels
Description
Prerequisites
- I have read the documentation.
Description
I am using Json.NET Schema to return a Json Schema with this type of properties
"AddressList": {
"type": [
"array",
"null"
],
"items": {
"type": [
"string"
]
}
},
According to Json Schema specification, type array which has null will also represent Optional input.
If change to
"type: " [ "string"]
or
"type:" : "string"
Everything would work fine
Expected behavior
- I expect this to display an input field which more record can be added
Actual behavior
- Unsupported field schema { "type": [ "array", "null" ], "items": { "type": [ "string" ] } }.
Version
I am running this on Playground Page directly
ademcaglin, wlalele, stephentuso, Binb1, kravis-lau and 4 more