Repository navigation
v0.8.0
·
74 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Fixed
- Add a query API key to a GET request in Firefox (#93)
- Leave out a flagged property from a nested allOf of references (#95)
- Breaking: A
text/*media type declared binary (a schema without atype) in one response was read as aBlobin every response of the operation, even where its type wasstringor an event stream. It is now read as aBlobonly for the statuses of the response that declares it, sodatais what its type says. Code that read suchdataas aBlobagainst its type must read it as typed. (#97) - Breaking: The
dataof a 204, 205 or 304 response that the document covers only with2XX,3XXordefaultwas typed as that key's body, though the client returnsundefinedfor it. It is nowundefined. With200anddefault: Error,datainif (!res.ok)now includes theundefinedof a 304: read it with?., or narrow bystatusfirst. (#96) - Send a request resent through auth with only the credentials chosen for it (#98)
- Breaking: A response declared as the range
text/*was typedstring, though the client readstext/event-streamand+jsontypes under it as an event stream or as JSON. Itsdatais nowunknown, as for*/*andapplication/*. Check its type before use, or declare the media types the response sends, such astext/plain, which staystring. (#99) - Breaking: A subtype that adds nothing to a parent that only lists its subtypes in
oneOforanyOfwas typedunknown. Such a document is now an error. Give the subtype or its parent atypeorproperties, such as the discriminator property. (#100)