Add paths with params condition option #2761
Open
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.
@bnasslahsen
Hello, I propose a new option to expose params condition in the path, allowing the value to be differently exposed in the path as well.
I understand the comment you provided regarding this issue (#2691 )and respect the direction of using the path and HttpMethod as identifiers for API uniqueness.
While it's true that params condition alone may not guarantee uniqueness, it plays a role in refining the request, making it a valid option to offer. Additionally, the Spring Framework's RequestMappingHandler supports API mapping separation based on params condition, and I believe there are cases where others have similar requirements.
Therefore, I would like to gradually improve this feature by providing it as an option that users can use if needed.
Of course, this is just another direction I'm suggesting.
Thank you.
resolved : #2691