Skip to content
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

Path grouping strategy #3152

Merged
merged 8 commits into from
Nov 26, 2024

Conversation

Saibamen
Copy link
Contributor

Users can write function to generate path grouping.

For example, I can write path with /myPath?queryParam1?queryParam2, so I will not have SwaggerGeneratorException (Conflicting method/path combination x for actions (...)) when mapping old .NET Framework API with Route("/api/[controller]").

Maybe related to #2354, but I don't know if ApiDescription has information about ConsumesAttribute.

@codecov-commenter
Copy link

codecov-commenter commented Nov 18, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 77.77778% with 2 lines in your changes missing coverage. Please review.

Project coverage is 83.26%. Comparing base (8ea0461) to head (ed7331e).

Files with missing lines Patch % Lines
...erGen/SwaggerGenerator/ApiDescriptionExtensions.cs 0.00% 2 Missing ⚠️

❗ 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           
Flag Coverage Δ
Linux 83.26% <77.77%> (+<0.01%) ⬆️
Windows 83.26% <77.77%> (+<0.01%) ⬆️
macOS 83.26% <77.77%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

Copy link
Collaborator

@martincostello martincostello left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you change this to 7.2.0 please?

<VersionPrefix>7.1.1</VersionPrefix>

@martincostello martincostello added this to the v7.2.0 milestone Nov 25, 2024
@Saibamen Saibamen marked this pull request as draft November 25, 2024 16:20
@Saibamen
Copy link
Contributor Author

Wait. I will change exception message

@martincostello
Copy link
Collaborator

I was just about to enable auto-merge on this - what are you changing?

@Saibamen Saibamen marked this pull request as ready for review November 25, 2024 16:24
@Saibamen Saibamen closed this Nov 25, 2024
@Saibamen Saibamen reopened this Nov 25, 2024
@martincostello martincostello merged commit 5dd46c4 into domaindrivendev:master Nov 26, 2024
17 checks passed
@Saibamen Saibamen deleted the PathGroupingStrategy branch November 26, 2024 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants