I tried integration with the API of my partner, but the response from API has the value of date as an array of integers like [2014, 3, 10]. The C# class generated from OpenAPI for this field is DateTimeOffset. So, an error occurs when parsing the response to object DTO.
Response example: `
{
"id": "4535e63b-ab8f-11e3-bd14-180373e16dda",
"validFrom": [
2014,
3,
10
]
}
OpenAPI config example:
"validFrom": {
"type": "string",
"format": "date"
}
`
I found some problems like this case. LocalDate ISO format The problems above come from the JAVA app, but my service uses the .Net app. So, how can I resolve this problem for the .Net app?