-
-
Notifications
You must be signed in to change notification settings - Fork 526
support spring RequestMapping String[] params() #1726
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
Comments
OpenAPI identifies API endpoint by path and method, and it does not support query string: https://stackoverflow.com/a/40500680/3128576 So this is not possible until OpenAPI specification supports it. |
Can convert path to this?
Springfox does this, and then sets the query to enum and requires it. |
Well, this is not specification compliant and I doubt it's should be implemented. |
We have such requirement as well during migrating api doc from SpringFox. It will be great to support this case (maybe by offering kind of customization) as there could be large number of legacy APIs using this style (like AWS S3 restful APIs) . |
This can be fixed by #1706 |
Agree with @bianjp answer |
spring doc
Now the method cannot be called on the swagger ui without generating the parameters of the param.
The text was updated successfully, but these errors were encountered: