Skip to content

exportInlineEnums should contain reference to the functions they're used in #2188

Open
@ReptoxX

Description

@ReptoxX

Description

The issue is that multiple endpoints use similar and same named enums. Which results in enums being exported multiple times with the same name.

Sometimes it would have a different number suffixed.

A solution could be to prefix the enum with the operationId or similar.

Reproducible example or configuration

https://stackblitz.com/edit/hey-api-client-fetch-example

OpenAPI specification (optional)

No response

System information (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🔥Something isn't workingprioritized 🚚This issue has been prioritized and will be worked on soon

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions