Skip to content

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

Merged
wing328 merged 2 commits intoOpenAPITools:masterfrom
ahrytsiuk:gh-3134-request-body-required
Dec 16, 2019
Merged

[Spring] Fix template for RequestBody, added 'required' attribute#4756
wing328 merged 2 commits intoOpenAPITools:masterfrom
ahrytsiuk:gh-3134-request-body-required

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