Skip to content

[experimentalParser] Array isn't Array anymore #1258

@mrclrchtr

Description

@mrclrchtr

Description

Hi,

I tried the experimentalParser: true.

Before and after:
image

The Array is now an object.
Maybe because oneOf is not supported?

Do you need more infos?

Reproducible example or configuration

No response

OpenAPI specification (optional)

    OrderDto:
      type: object
      properties:
        items:
          type: array
          items:
            oneOf:
            - $ref: "#/components/schemas/OrderItemWoodDto"
          maxItems: 2147483647
          minItems: 1

System information (optional)

"@hey-api/openapi-ts": "0.55.1"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🔥Broken or incorrect behavior.important 📌This issue is important and will be addressed when capacity allows.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions