-
Notifications
You must be signed in to change notification settings - Fork 56
[Runtime] Multiple content types support #29
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
czechboy0
merged 20 commits into
apple:main
from
czechboy0:hd-draft-multiple-content-types
Aug 4, 2023
Merged
Changes from 8 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
f997ab1
[WIP] Multiple content types
czechboy0 66b78af
Try designing EncodedBodyContent away
czechboy0 00e9b40
Deprecate unit tests that call deprecated methods
czechboy0 f6c7f23
Stop using EncodableBodyContent in responses as well
czechboy0 59f199f
Update tests as well
czechboy0 25049e8
Move a function for a smaller PR diff
czechboy0 c384fc8
Merge branch 'main' into hd-draft-multiple-content-types
czechboy0 0ec13e5
Merge branch 'main' into hd-draft-multiple-content-types
czechboy0 a882dc8
Merge branch 'main' into hd-draft-multiple-content-types
czechboy0 ddc431d
Update Sources/OpenAPIRuntime/Conversion/Converter+Common.swift
czechboy0 efc85c2
PR feedback: Introduce a MIMEType wrapper type
czechboy0 7f832ac
Fix formatting
czechboy0 606aa0e
PR feedback: s/isValidContentType/isMatchingContentType
czechboy0 5752e18
PR feedback: no need to prefix fileprivate extensions
czechboy0 de2248b
PR feedback: restructure MIMEType to disallow json/*
czechboy0 09b68a7
PR feedback: rename MIMEType to OpenAPIMIMEType
czechboy0 6df8431
PR feedback: Add a comment about how we're handling duplicate paramet…
czechboy0 e0dae85
PR feedback: Make isMatchingContentType stricter + rename expected to…
czechboy0 f4678b2
Only allocate dictionaries if there are parameters
czechboy0 63f44b0
Merge branch 'main' into hd-draft-multiple-content-types
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
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.