Anypoint Best Practices
date-only-representation
general > date-only-representation
Guidance / Message
Use standard date formats: ISO8601 Use calendar date:
2016-10-27
Examples
valid
date:
type: date
example: "2016-10-27"
description: The first date on which the payment will be sent
invalid
date:
type: string
example: "1994-11-05T08:15:30-05:00"
description: This is clearly not a date but a date time
Applies to ScalarShape