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
The Content-Type header is now sent on every request (since it is now required by validator.swagger.io and online.swagger.io). It is determined from caller (or command-line) options, or file extension, or file content (which requires buffering the document before sending), in that order.
Specification data may now be passed as Uint8Array in addition to string, Buffer, and stream.Readable types.
New url option which allows specifying the validator URL separately from any request options and (optionally) as a URL object.