Skip to content
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

[Spring] Fix template for RequestBody, added 'required' attribute #4756

Merged
merged 2 commits into from
Dec 16, 2019
Merged

[Spring] Fix template for RequestBody, added 'required' attribute #4756

merged 2 commits into from
Dec 16, 2019

Conversation

ahrytsiuk
Copy link
Contributor

Details of the change:

  • changed Mustache template for Spring generator, so now it respect a 'required' attribute of 'requestBody'

This is a fix for: #3134

@bbdouglas @sreeshas @jfiala @lukoyanov @cbornet @jeff9finger @karismann @Zomzog @lwlee2608

Copy link
Member

@wing328 wing328 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wing328 wing328 merged commit a9cc96b into OpenAPITools:master Dec 16, 2019
@wing328 wing328 changed the title fix template for RequestBody, added 'required' attribute (#3134) [Spring] Fix template for RequestBody, added 'required' attribute Dec 16, 2019
@wing328 wing328 added this to the 4.2.3 milestone Dec 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants