Skip to content

broken curl commands for formData with collectionFormat=multi #3838

@xanoinc

Description

@xanoinc

engine: Swagger 2.0
swagger-ui - 3.4.1

It looks like collectionFormat=multi is being ignored and it is trying to do csv instead.

Here is a screenshot - https://gmkr.io/s/59f4c80a5e287dbf0e76dc1e/0

Attached is the full swagger config.
swagger-multipart.zip

Here is the specific block.

                {
                    "in": "formData",
                    "name": "email[]",
                    "description": "The list of emails.",
                    "type": "array",
                    "collectionFormat": "multi",
                    "items": {
                        "type": "string"
                    }
                }

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions