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
The issue with this is that I need the type to be a string, but not a specific value, because otherwise typescript won't allow me to have a different type,
Is there a way to change this?
The text was updated successfully, but these errors were encountered:
Seems as if you're running into compatibility issues with our "discriminating schemas" (see #422). Do you use a discriminator in one of your real-world types?
And can you please confirm, the expected outcome would be something along the lines of
Hi everyone,
I'm generating an API
typescript
file from an Open API.yml
file, but something is happening.My
.yml
file looks like this:but when I generate the code, the
type
prop from theItemPropertiesBase
is hard-coded, even though I only assigned a type, but not a value:The issue with this is that I need the
type
to be astring
, but not a specific value, because otherwisetypescript
won't allow me to have a differenttype
,Is there a way to change this?
The text was updated successfully, but these errors were encountered: