Skip to content

Use required attribute from spring RequestBody annotation #468

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

Closed
lsuski opened this issue Mar 3, 2020 · 0 comments
Closed

Use required attribute from spring RequestBody annotation #468

lsuski opened this issue Mar 3, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@lsuski
Copy link

lsuski commented Mar 3, 2020

Is your feature request related to a problem? Please describe.

  • SpringDoc by default does not set request body as required. I have to add springdoc annotation @RequestBody with required true

Describe the solution you'd like

  • SpringDoc should detect original spring annotation @RequestBody which by default has required = true
@bnasslahsen bnasslahsen added the enhancement New feature or request label Jan 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants