Skip to content

Lastest version (>13.0.23) does not read from json for path #1166

Open
@AlexDettingerIkea

Description

@AlexDettingerIkea

Since the versions after 13.0.23, our existing command to write a parsed api spec to a file no longer works

Command:

npx swagger-typescript-api --union-enums --no-client -p ./src/api/openAPISpec/openapi.json -o ./src/api/genTypes -n dto.ts

Error:

ERROR Unknown command ./src/api/openAPISpec/openapi.json

Reverting to version 13.0.23 fixes this

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions