-
Notifications
You must be signed in to change notification settings - Fork 10.9k
MVC+OpenAPI: Support multiple Produces for same status code / content-type
#65650
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
DeagleGross
merged 45 commits into
dotnet:main
from
DeagleGross:dmkorolev/multiple-produces
May 14, 2026
Merged
Changes from 5 commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
0f7cefb
api explorer support
DeagleGross c97f70b
api explorer
DeagleGross 7b4f6aa
mvc support
DeagleGross dc11280
openapi oneof
DeagleGross c90e66d
Merge branch 'main' into dmkorolev/multiple-produces
DeagleGross bf1ddeb
rewrite filters
DeagleGross 1de48e6
rewrite .verified
DeagleGross 45c060a
fix invariant verification
DeagleGross 4bd7c48
fix different scope overrides
DeagleGross 2dc09bd
wip
DeagleGross 8ddc9fd
Merge branch 'main' into dmkorolev/multiple-produces
DeagleGross c49578c
add description to mergine of formats
DeagleGross b84fec5
renaming
DeagleGross 1a9b091
simplify
DeagleGross 275fa44
rework tests to use Assert.Collection without ordering (ensure order …
DeagleGross abed03f
properly validate inferred types against excplitly defined ones
DeagleGross e99727c
tests
DeagleGross cf570db
elaborate on inferred types
DeagleGross 0872027
simplify
DeagleGross 6179e23
tests for controllers
DeagleGross 6135446
minimal api tests
DeagleGross 3186309
nit
DeagleGross f28fd3e
tests on Results.Ok and TypedResults.OK()
DeagleGross cb64b6d
nit
DeagleGross 7436ce4
add explanation for filtering non-ApiResponseMetadataProviders
DeagleGross 9b0920c
update .verified to include inferred types
DeagleGross 9c69c14
include hiding inferred-type scenario
DeagleGross 85d43c3
tests on groups
DeagleGross 002fd0f
comments 1
DeagleGross 3e76276
nit 2
DeagleGross 98675d1
change to anyOf
DeagleGross 5c621ce
merge main (tmp)
DeagleGross e748258
fix deterministic ordering in api explorer
DeagleGross 8c0a65b
regen openapi integration tests
DeagleGross e740fc1
and fix name of route
DeagleGross 3ba070b
add Debug.Assert to apiresponsetypeprovider scope processing
DeagleGross d9854e0
better in-place doc
DeagleGross 7f8e8b9
fix naming of mvc-controller oneOf->anyOf
DeagleGross 4daa5a6
explanations + test for corner case
DeagleGross af004d8
make it readonly
DeagleGross dbd3ad9
merge descriptions
DeagleGross f254424
Merge remote-tracking branch 'upstream/main' into dmkorolev/multiple-…
DeagleGross 3dec050
fix test validating merge
DeagleGross b06df29
add duplicate description case for verification
DeagleGross 9ea2818
fix nit formatting
DeagleGross 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
Some comments aren't visible on the classic Files Changed page.
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
Oops, something went wrong.
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.