You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to find a workaround for #26. This time, I tried creating a "nullable_schema" with type=["null", "object"] and then extending it in a different schema with type="object".
I expected the output to be somehow like this. The extended schema was supposed to be left untouched and in the nullable schema the "type": "null" should have been casted to "nullable": true.
As opposed to #26, this time the script did not crash. However, in the actual output the "type": "null" was not resolved. It was still "type": ["null", "object"].
The text was updated successfully, but these errors were encountered:
janjagusch
changed the title
Type ["null", "foo"] not correctly converted in "$ref"s
Type ["null", "foo"] not correctly converted in "$ref"
Mar 30, 2020
janjagusch
changed the title
Type ["null", "foo"] not correctly converted in "$ref"
Type ["null", "foo"] not converted correctly in "$ref"
Mar 30, 2020
I am trying to find a workaround for #26. This time, I tried creating a "nullable_schema" with
type=["null", "object"]
and then extending it in a different schema withtype="object"
.Input
I expected the output to be somehow like this. The extended schema was supposed to be left untouched and in the nullable schema the
"type": "null"
should have been casted to"nullable": true
.Expected Output
As opposed to #26, this time the script did not crash. However, in the actual output the
"type": "null"
was not resolved. It was still"type": ["null", "object"]
.Actual Output
The text was updated successfully, but these errors were encountered: