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
Change type of HTTPBody.Length.known from Int to Int64 (#79)
### Motivation
The associated value of enum case `HTTPBody.Length.known` was `Int`,
and, on watchOS, `Int = Int32`, which is not ideal for a content length.
### Modifications
- (API breaking) Change type of HTTPBody.Length.known from Int to Int64.
### Result
Can now express larger values for content type on 32-bit platforms.
### Test Plan
Unit tests pass.
### Related Issues
- Fixesapple/swift-openapi-generator#354.
### Note
I have marked this PR as `semver/major` as it constitutes the first of
the PRs we make in the run up to 1.0.0-alpha.1 and the release notes
generator should therefore catch us from inadvertently cutting another
pre-1.0 patch release.
0 commit comments