Bug: Union keys with union response types don't work when each response status has different media type #130
Labels
Status: Unconfirmed
A potential issue that we haven't yet confirmed as a bug
Steps To Reproduce
Remove this comment out , switch yaml from remote instead of local.
run
bun i && bun ./gen.ts && npx tsc --noEmit ./src/client.ts
in repo.This generate types
This emits an error because ResponseContentType keys require both types above to have all properties .
The current behavior
As ever described.
The expected behavior
Generate each ResponseContentType and union
or
or
Final approach looks suitable for me.
The text was updated successfully, but these errors were encountered: