Repository navigation
v0.4.0
·
60 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Changed
- Breaking: The generator computes which statuses each response key covers, instead of conditional types at every call, so calls type-check faster.
ApiResponsetakes the operation instead of itsresponses:ApiResponse<paths["/pets/{petId}"]["GET"]>. Each operation inpathshas astatusesmember. (#39)
Fixed
- Breaking: A multipart body was sent with the
Content-Typeset in the client's or the call'sheaders, without a boundary, so the server could not parse it.fetchnow sets the header, boundary included. Header objects can no longer nameContent-Type, since the body's media type sets it; to send a body for a range such as*/*as a given media type, passcontentType. (#41)