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
However, the generated code always serializes the array like this:
/appointments/?state=FREE&state=ACCEPTED
But I want it to be serialized like this:
/appointments/?state=FREE,ACCEPTED
I found a ticket (#5016) that was apparently merged in version 14.3, which specifically addresses this serialization issue. What am I doing wrong here, or is this still a bug?
The text was updated successfully, but these errors were encountered:
I'm using NSwag version 14.3.
In my OpenAPI 3.0 specification, the following query parameter is defined:
{ "name": "state", "in": "query", "description": "Appointment state", "required": false, "style": "form", "explode": false, "schema": { "type": "array", "items": { "$ref": "#/components/schemas/AppointmentState" } } }
However, the generated code always serializes the array like this:
/appointments/?state=FREE&state=ACCEPTED
But I want it to be serialized like this:
/appointments/?state=FREE,ACCEPTED
I found a ticket (#5016) that was apparently merged in version 14.3, which specifically addresses this serialization issue. What am I doing wrong here, or is this still a bug?
The text was updated successfully, but these errors were encountered: