Skip to content

Enum of type integer is not supported by OpenApiParser #2970

@stupedvivu

Description

@stupedvivu

Issue:
When OpenApiParser tries to parse a Swagger 2.0 OpenAPI definition that includes an enum parameter of type integer, it does not return the function associated with that parameter. While debugging the OpenApiParser.GetFunctions() code, I found that the function is marked as not supported, with the reason: "Unsupported enum type (int)"

Image

Attaching sample swagger definition -

test.json

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