Forum Discussion
HKosova
5 years agoSmartBear Alumni (Retired)
Hi 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: true
- swilko5 years agoNew Contributor
Thanks for the reply, confirming the schema level example worked.
Related Content
- 2 months agoStoplight
Recent Discussions
- 6 days agokj20nt
- 14 days agoprogrammer_j
- 19 days agotobyclements