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
But it is incorrect, as when the client uses the spect to generate the typescript code, the owner field is not well recognized. The correct output should be:
FYI: in my case, this format I've shown you works perfectly using "anyOf", "oneOf" and "allOf". Check this screenshot of the swagger editor using "anyOf":
The issue is that when I have a type like this:
When the open API spec is generated the owner field is generated like:
But it is incorrect, as when the client uses the spect to generate the typescript code, the owner field is not well recognized. The correct output should be:
The text was updated successfully, but these errors were encountered: