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
Given a JsonSchema with nested type with a oneOf where the eligible sub-types map to the same typescript type, the resulting typescript type has a duplicate type (eg string | string).
Given a JsonSchema with nested type with a
oneOf
where the eligible sub-types map to the same typescript type, the resulting typescript type has a duplicate type (egstring | string
).For example
produces
Interestingly the same does not happen when the
oneOf
type is at the top level of the JsonSchemaproduces
In reality my schema uses different
format
s though they map to the same type, so I simplified the examples aboveThe text was updated successfully, but these errors were encountered: