Skip to content

Codegen failing silently since 0.85.0 #2758

@maximilliangeorge

Description

@maximilliangeorge

Description

Hi guys, thanks for creating an awesome tool that really helps me out in my work <3

Everything has mostly worked fine so far, but today I've been having trouble generating the types and client from our swagger when running the following command. This doesn't print an error or anything, it just fails silently.

npx @hey-api/openapi-ts -i <path-to-swagger> -o ./codegen -c legacy/fetch

However, explicitly setting the version to 0.84.4 seems to work:

npx @hey-api/[email protected] -i <path-to-swagger> -o ./codegen -c legacy/fetch

I can't publish the swagger docs here openly but I'm happy to provide more info if you have any questions.

Thank you again.

Reproducible example or configuration

No response

OpenAPI specification (optional)

No response

System information (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🔥Something isn't workingneeds info ⏳Further information is required

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions