This make the code easier to handle. Less error risk of adding date that isn't a date.
Without the change generated code is a string. With the change the type is changed to one that produces the correct format. For java that is a OffsetDateTime.
Feature suggestion description
type: string
description: "Tidsstämpel för när meddelandet skapades. Tidszon UTC skall användas"
example: "2019-08-15T17:52:58.1Z"
changed to
type: string
format: date-time
description: "Tidsstämpel för när meddelandet skapades. Tidszon UTC skall användas"
example: "2019-08-15T17:52:58.1Z"
Contact Details (Optional)
johan.erlands@idainfront.se
What benefits does the suggestion solve?
This make the code easier to handle. Less error risk of adding date that isn't a date. Without the change generated code is a string. With the change the type is changed to one that produces the correct format. For
java
that is aOffsetDateTime
.Feature suggestion description
changed to
Alternative solutions (Optional)
No response
Additional information (Optional)
No response