Skip to content

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

@fabiocognigni

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"
        }

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