Skip to content

Enum of type integer is not supported by OpenApiParser #2970

Description

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

Activity

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

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