Skip to content

Enum Class Generation for schema.org/OrderStatus not working #400

@stiivo

Description

@stiivo

API Platform version(s) affected: 3.0.8 Generator: 5.2.0

Description

Enum generation not working for schema.org/OrderStatus
Instead OrderStatus becomes a normal Entity

How to reproduce

types:
  Thing:
    properties:
      gender: { range: "https://schema.org/GenderType" }
      orderStatus: { range: "https://schema.org/OrderStatus" }
  GenderType:
    properties:
      gender: [ ]
  OrderStatus:
    properties:
      orderStatus: [ ]

$ php vendor/bin/schema generate config/schema.yaml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions