You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I set mp.openapi.extensions.smallrye.merge-schema-examples = false I get some strange results.
With this as my Pojo
@JsonView(Views.Abridged.class)
@Schema(description = "An array of date-time in ISO8601 UTC format with millisecond precision.", example = "[\"2021-10-25T16:00:00.234Z\", \"2021-10-26T16:00:00.234Z\"]")
privateList<LocalDateTime> rcvyTime;
I get this generated OpenAPI.
"rcvyTime": {
"type": "array",
"items": {
"type": "string",
"format": "date-time",
"examples": [
"2022-03-10T12:15:50"
]
},
"description": "An array of date-time in ISO8601 UTC format with millisecond precision.",
"example": [
"2021-10-25T16:00:00.234Z",
"2021-10-26T16:00:00.234Z"
]
}
Where did this come from? It should not exist.
"examples": [
"2022-03-10T12:15:50"
]
And that appears to be a default value as all arrays that do this have the same value.
Note I am using 4.0.6-SNAPSHOT
The text was updated successfully, but these errors were encountered:
If I set mp.openapi.extensions.smallrye.merge-schema-examples = false I get some strange results.
With this as my Pojo
I get this generated OpenAPI.
Where did this come from? It should not exist.
And that appears to be a default value as all arrays that do this have the same value.
Note I am using 4.0.6-SNAPSHOT
The text was updated successfully, but these errors were encountered: