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 think if an endpoint defines multiple possible responses, only one type gets validated right now. ideally, we would generate an array of schemas to parse and if any of them passes, return. Or do a response status check and test against specific schema.
EDIT: Seems one schema for the whole union is generated. It would be nice to split it into individual schemas
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
I think if an endpoint defines multiple possible responses, only one type gets validated right now. ideally, we would generate an array of schemas to parse and if any of them passes, return. Or do a response status check and test against specific schema.
EDIT: Seems one schema for the whole union is generated. It would be nice to split it into individual schemas
The text was updated successfully, but these errors were encountered: