We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
yes, this already answered in #252
but I think springdoc annotation @parameter(required = false) should override this default behavior.
and:
@GetMapping("/list") public List<DemoItem> list(Integer category, String filter, Integer page, Integer size, String sort) { }
curl -v 'http://localhost:8080/list' works well without parameters. why springdoc requires an extra work like:
public List<DemoItem> list(@RequestParam(required = false) Integer category, @RequestParam(required = false) String filter, @RequestParam(required = false) Integer page, @RequestParam(required = false) Integer size, @RequestParam(required = false) String sort) { }
it is long and ugly :)
The text was updated successfully, but these errors were encountered:
see #252 (comment)
Sorry, something went wrong.
No branches or pull requests
yes, this already answered in #252
but I think springdoc annotation @parameter(required = false) should override this default behavior.
and:
curl -v 'http://localhost:8080/list' works well without parameters. why springdoc requires an extra work like:
it is long and ugly :)
The text was updated successfully, but these errors were encountered: