Path grouping strategy#3152
Merged
martincostello merged 8 commits intodomaindrivendev:masterfrom Nov 26, 2024
Merged
Conversation
|
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #3152 +/- ##
=======================================
Coverage 83.25% 83.26%
=======================================
Files 76 76
Lines 3142 3143 +1
Branches 526 526
=======================================
+ Hits 2616 2617 +1
Misses 526 526
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
src/Swashbuckle.AspNetCore.SwaggerGen/SwaggerGenerator/SwaggerGeneratorOptions.cs
Outdated
Show resolved
Hide resolved
test/Swashbuckle.AspNetCore.SwaggerGen.Test/ConfigureSwaggerGeneratorOptionsTests.cs
Show resolved
Hide resolved
martincostello
approved these changes
Nov 25, 2024
Collaborator
martincostello
left a comment
There was a problem hiding this comment.
Could you change this to 7.2.0 please?
Contributor
Author
|
Wait. I will change exception message |
Collaborator
|
I was just about to enable auto-merge on this - what are you changing? |
src/Swashbuckle.AspNetCore.SwaggerGen/SwaggerGenerator/SwaggerGenerator.cs
Outdated
Show resolved
Hide resolved
Saibamen
commented
Nov 25, 2024
src/Swashbuckle.AspNetCore.SwaggerGen/SwaggerGenerator/SwaggerGenerator.cs
Outdated
Show resolved
Hide resolved
This was referenced Jul 31, 2025
This was referenced Feb 18, 2026
Open
Open
Closed
Open
Open
Open
Open
Open
Open
Open
Open
Open
Open
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Users can write function to generate path grouping.
For example, I can write path with
/myPath?queryParam1?queryParam2, so I will not haveSwaggerGeneratorException(Conflicting method/path combination x for actions (...)) when mapping old .NET Framework API withRoute("/api/[controller]").Maybe related to #2354, but I don't know if
ApiDescriptionhas information aboutConsumesAttribute.