Swift OpenAPI Runtime 0.3.0
⚠️ API-breaking changes
This release changes the ClientTransport
, ClientMiddleware
, ServerTransport
, and ServerMiddleware
protocols in line with the approved proposals SOAR-0004 and SOAR-0005. See the proposals for details on how to migrate.
The TL;DR is:
- the HTTP currency types are now imported from swift-http-types
- unstructured bodies, which were previous either
Foundation.Data
orSwift.String
are nowOpenAPIRuntime.HTTPBody
, which represents an async sequence of byte chunks, unlocking fully streaming use cases
What's Changed
SemVer Minor
- Async bodies + swift-http-types adoption by @czechboy0 in #47
Full Changelog: 0.2.5...0.3.0