Skip to content

Swagger enums are not imported when defined in an array #807

Description

@fabiocognigni

Example:

        "enum_array_example": {
          "items": {
            "enum": [
              "a",
              "b",
              "c"
            ],
            "x-enum-labels": [
              {
                "default": "a"
              },
              {
                "default": "b"
              },
              {
                "default": "c"
              }
            ],
            "type": "string"
          },
          "x-label": {
            "default": "a"
          },
          "type": "array"
        }

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions