mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-07-07 16:10:53 +00:00
use specific jms/serializer annotation on simple date fields (#10048)
This commit is contained in:
parent
67cba32d3a
commit
cf4523fa1b
@ -43,7 +43,7 @@
|
||||
{{^isContainer}}
|
||||
{{#isDate}}
|
||||
* @Assert\Date()
|
||||
* @Type("DateTime")
|
||||
* @Type("DateTime<'Y-m-d'>")
|
||||
{{/isDate}}
|
||||
{{#isDateTime}}
|
||||
* @Assert\DateTime()
|
||||
|
Loading…
x
Reference in New Issue
Block a user