Skip to content

Enums in query and MULTI #75

Description

@carlosefonseca

Hi,

The code generated ended up with an import import …yelpcodegen.tools.MULTI that does not exist.

I checked the swagger and the only places I found "multi" was on a query parameter that is an enum and contains "collectionFormat": "multi", (I didn't check what this meant). Looking at the generated code, the request contains a List in the place of the enum.

So, two questions. Is the import a bug? And could the request be generated with the enum class instead of a List?

Here's the generated code vs the swagger.

Screen Shot 2019-12-13 at 20 27 53

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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