Skip to content

Cannot create a multiple select parameter #1193

@peeter-tomberg

Description

@peeter-tomberg

My JSON:

parameters": [
    {
        "name" : "interests",
        "in" : "query",
        "description": "The intrests of a user",
        "items": {
            "type": "string"
        },
        "enum": [
                "movies",
                "books",
                "cars"
        ],
        "type": "array",
        "collectionFormat": "csv"
    }
]

Expected result:

and the query being:
findByInterests?interests=books,cars

Actual result:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions