Skip to content

Add enum support for parameters #707

Description

@mguentner

I'd like to supply an enum when specifying a parameter like so:

option.Query("foobar", "Some query param.", param.Enum("a", "b", "c")),

Spec: https://swagger.io/docs/specification/v3_0/data-models/enums/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions