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
A null value is always appended to the enum array when transforming nullable enum properties. This results in an invalid JSON Schema document when the OAS already includes null in the array (valid OAS)
Expected Behavior
null is not appended when the enum array already includes it.
Possible Workaround/Solution
Check the elements of the array before appending the null value
I will PR a fix
The text was updated successfully, but these errors were encountered:
Current Behavior
A
null
value is always appended to theenum
array when transforming nullable enum properties. This results in an invalid JSON Schema document when the OAS already includesnull
in the array (valid OAS)Expected Behavior
null
is not appended when theenum
array already includes it.Possible Workaround/Solution
Check the elements of the array before appending the
null
valueI will PR a fix
The text was updated successfully, but these errors were encountered: