Skip to content

Typescript enum generation fails with special characters #351

Open
@lew

Description

@lew

The following schema:

{
  "enum": ["&&", "||"],
  "type": "string"
}

is compiled to

export enum RuleChainingOperator {
  Type = '&&',
  Type = '||',
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingresearch

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions