- Notifications
You must be signed in to change notification settings - Fork10.4k
Add Description to ProducesResponseType (and others) for better OpenAPI document creation#58193
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes from1 commit
Commits
Show all changes
25 commits Select commitHold shift + click to select a range
1f433b6
Started adding Description to several attributes
sander1095364e278
Merge branch 'dotnet:main' into main
sander1095d71759c
Add new properties to unshipped apis
sander1095019bd17
Some more progress of adding Description in some places
sander1095e7885ab
Merge branch 'dotnet:main' into main
sander10954b75efc
Merge branch 'dotnet:main' into main
sander10956da811a
Small improvements based on API review comments
sander1095951676d
Added missing modifier to property
sander10953bdbe26
Make changes in unshipped.txt so the http project builds
sander1095442d101
Add Description to OpenApiRouteHandlerBuilderExtensions and extra con…
sander1095f7416da
Changed code to follow overload rules and fix compile issues
sander1095443babd
Fix minor typo
sander10957700ccc
Remove code from OpenApiRouteHandlerBUilderExtensions based on Safiaś…
sander10959614111
Fix incorrect XML Comment
sander1095365c7d6
Fixed some more Public API issues
sander10956964a4d
Merge branch 'dotnet:main' into main
sander1095a384d69
Add unit test
sander1095c071c35
Add some more unit tests
sander1095aa366b7
Remove unnecessary set from interface
sander10952d1314f
Merge branch 'dotnet:main' into main
sander10954e9fcd8
Merge branch 'dotnet:main' into main
sander109524128f6
Remove unnecessary change in public api shipped file
sander1095bb3e442
Also update unshipped file so the build succeeds!
sander1095d5dae48
Apply the new Description in response models
sander10956d388db
Merge branch 'dotnet:main' into main
sander1095File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
Remove code from OpenApiRouteHandlerBUilderExtensions based on Safiaś…
… commentAlso removed new constructors based on Safiaś comment
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commit7700ccc5d849cd20c0cbdfe31ba6d0d4b5269a9e
There are no files selected for viewing
2 changes: 1 addition & 1 deletionsrc/Http/Http.Abstractions/src/Metadata/IProducesResponseTypeMetadata.cs
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
20 changes: 4 additions & 16 deletionssrc/Http/Http.Abstractions/src/Metadata/ProducesResponseTypeMetadata.cs
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
1 change: 0 additions & 1 deletionsrc/Http/Http.Abstractions/src/PublicAPI.Shipped.txt
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
2 changes: 1 addition & 1 deletionsrc/Http/Http.Results/src/AcceptedAtRouteOfT.cs
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
2 changes: 1 addition & 1 deletionsrc/Http/Http.Results/src/AcceptedOfT.cs
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
2 changes: 1 addition & 1 deletionsrc/Http/Http.Results/src/BadRequestOfT.cs
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
2 changes: 1 addition & 1 deletionsrc/Http/Http.Results/src/ConflictOfT.cs
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
2 changes: 1 addition & 1 deletionsrc/Http/Http.Results/src/CreatedAtRouteOfT.cs
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
2 changes: 1 addition & 1 deletionsrc/Http/Http.Results/src/CreatedOfT.cs
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
2 changes: 1 addition & 1 deletionsrc/Http/Http.Results/src/InternalServerErrorOfT.cs
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
2 changes: 1 addition & 1 deletionsrc/Http/Http.Results/src/NotFoundOfT.cs
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
2 changes: 1 addition & 1 deletionsrc/Http/Http.Results/src/OkOfT.cs
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
2 changes: 1 addition & 1 deletionsrc/Http/Http.Results/src/UnprocessableEntityOfT.cs
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
2 changes: 1 addition & 1 deletionsrc/Http/Http.Results/src/ValidationProblem.cs
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.
Uh oh!
There was an error while loading.Please reload this page.
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.