-
Notifications
You must be signed in to change notification settings - Fork 50
[Runtime] Async bodies + swift-http-types adoption #47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 56 commits
Commits
Show all changes
60 commits
Select commit
Hold shift + click to select a range
fd47bd2
[WIP] Async body currency type
czechboy0 beca630
Rename Body to HTTPBody to avoid confusion with the generated Body enums
czechboy0 34f7c59
[WIP] Adopt swift-http-types
czechboy0 d046bf9
WIP
czechboy0 164f84e
wip
czechboy0 3db782e
Remove mapChunks, rename initializer parameters
czechboy0 6c97d48
wip
czechboy0 466b701
Remove String coder, fix up client unit tests
czechboy0 00ec189
Got the other tests working
czechboy0 fe08164
Just use Substring in more places
czechboy0 63f05d6
wip
czechboy0 982fe13
wip
czechboy0 1317631
Added more docs
czechboy0 faba5ce
Add back docs
czechboy0 6a71613
Improve loggability of the currency types
czechboy0 1c07795
Bring back comments on ServerError
czechboy0 2540b77
WIP
czechboy0 a165558
Add comments back
czechboy0 c4186f8
Prefix extensions on types we don't own
czechboy0 5e1d21e
WIP on documentation
czechboy0 0ee065f
Add docs for HTTPBody
czechboy0 99d8252
Add doc comments
czechboy0 d85eb55
More docs
czechboy0 844be3a
Merge branch 'main' into hd-adopt-http-types
czechboy0 1406537
Fixes
czechboy0 84361a8
Make iterator next() method mutating
czechboy0 9f10325
Represent no responses as a nil HTTPBody in server transport and midd…
czechboy0 dbda450
Feedback: make the AsyncSequences Sendable, which adds the requiremen…
czechboy0 fbe8eea
Feedback: further cleanup of the HTTPBody API
czechboy0 8b432b2
Remove unnecessary initializers
czechboy0 3f59f44
Review feedback:
czechboy0 16917ce
Review feedback: make response body optional
czechboy0 4830821
A few more changes
czechboy0 213addf
Wording and a refactor fix
czechboy0 a5e22b6
Merge branch 'main' into hd-adopt-http-types
czechboy0 c314914
Fix a few more missing sendable annotations
czechboy0 0cf76f2
Update docs
czechboy0 af10f7d
Update HTTPBody.swift
czechboy0 b2fb79e
Update HTTPBody.swift
czechboy0 1778209
Update HTTPBody.swift
czechboy0 b58a3b6
Update HTTPBody.swift
czechboy0 b2d4ec3
Update HTTPBody.swift
czechboy0 66b602f
Update HTTPBody.swift
czechboy0 b0ccaae
Update ServerTransport.swift
czechboy0 3f5b3d3
Merge remote-tracking branch 'apple/main' into hd-adopt-http-types
czechboy0 a129b6b
Fixing up the merge from main
czechboy0 a3516b7
Merge branch 'hd-adopt-http-types' of github.com:czechboy0/swift-open…
czechboy0 f5d8c1c
Merge branch 'main' into hd-adopt-http-types
czechboy0 a89bced
Use swift-http-types 1.0
czechboy0 b19a787
Provide a closure for accessing the locked value HTTPBody.iteratorCre…
czechboy0 481e6bb
Fix up encoding comment
czechboy0 dc209d3
Update Sources/OpenAPIRuntime/Interface/HTTPBody.swift
czechboy0 05082f9
Update Sources/OpenAPIRuntime/Conversion/CurrencyExtensions.swift
czechboy0 03a9f2d
Update Tests/OpenAPIRuntimeTests/Conversion/Test_Converter+Common.swift
czechboy0 ed46fa5
Explicitly test substring support
czechboy0 669a7f3
Add a test case with an unknown length
czechboy0 72d241d
PR feedback: improve the iteration behavior checking in HTTPBody, ren…
czechboy0 0704673
Added a test for the collect method based on a known length
czechboy0 492cf0c
Move extensions of http types into the generated SPI
czechboy0 24f8870
Update version in docs to 0.3.0
czechboy0 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.