Forum Discussion
HKosova
SmartBear 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
swilko
6 years agoNew Contributor
Thanks for the reply, confirming the schema level example worked.
Related Content
Recent Discussions
- 12 days ago
- 12 days ago
- 17 days ago