-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
The same RequestMapping with different params #1828
Comments
This is a known problem with open api spec v 2.0. However an incubating feature allows you to work around the problem by |
Hello, can you give more information or a link that explain how to use this feature plz ? Google doesn't give anything on that... |
See link above @BetterWork4BetterWorld ☝️ Just support for RFC6570 to support url templating. This generates swagger endpoints with templated query parameters and there is a modified swagger-ui that supports having url templates for request parameters as well. So in your example before the change you'd have only one url
after turning
|
Hi, thanks @dilipkrish but I changed to this dependency springfox-swagger-ui-rfc6570:1.0.0 to support url templating, but I still have only one endpoint intead of two (with the same uri but diferent parameters) What's still missing? Thank in advance |
@plfgavilan you're missing configuring your docket with |
Hi,
The below user controller contains two GET methods mapped to the same URL. Both got RequestParam.
UI will display just one.
Seems its related to this one:
#750
The text was updated successfully, but these errors were encountered: