You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you see in the picture I have two different method, with one query parameter on it.
But swagger shows one of them as body parameter type when I put apiparam annotation on it.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
As you see in the picture I have two different method, with one query parameter on it.
But swagger shows one of them as body parameter type when I put apiparam annotation on it.
You can download example project
https://github.com/ercee/swagger-param-type-issue
Spring boot allows us to use parameters without @RequestParam annotation. But springfox doesn't aware of this.
See:
springfox.documentation.spring.web.readers.parameter.ParameterTypeReader.findParameterType method.
The text was updated successfully, but these errors were encountered: