mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2026-04-26 19:44:13 +00:00
Update model_variables.mustache (#7074)
Recursive validate non primitive objects
This commit is contained in:
+3
@@ -7,6 +7,9 @@
|
||||
* @SerializedName("{{baseName}}")
|
||||
{{#required}}
|
||||
* @Assert\NotNull()
|
||||
{{^isPrimitiveType}}
|
||||
* @Assert\Valid()
|
||||
{{/isPrimitiveType}}
|
||||
{{/required}}
|
||||
{{#isEnum}}
|
||||
{{#isContainer}}
|
||||
|
||||
Reference in New Issue
Block a user