Skip to content

[BUG] --union-enums cli flag no longer works in 13.0.28 #1142

Closed
@mariansimecek

Description

@mariansimecek

Running command:
swagger-typescript-api generate --path [REDACTED] --output src/app/modules/_models/generated --no-client --extract-request-params --union-enums --extract-response-body --extract-response-error --add-readonly --name types.generated.ts

This always generates TypeScript enums instead of unions, regardless of the --union-enums flag. This works fine in version 13.0.27.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentation

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions