Forum Discussion
HKosova
Alumni
7 years agoHi swilko,
Thanks for the details! I have reproduced the issue and forwarded it to our developers.
As a workaround, please add a schema-level example for the whole object - in this case the mock will use the correct date/time examples:
Order:
type: object
properties:
...
example:
id: 1
petId: 12
qualtity: 1
shipDate: '2017-07-21T17:32:28Z' # <------
otherDate: '2017-07-21' # <------
status: delivered
complete: trueswilko
7 years agoNew Contributor
Thanks for the reply, confirming the schema level example worked.