-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
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?
Metadata
Metadata
Assignees
Labels
No labels