We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using discliminator, cyclic dependencies appear in types. The problem appeared in version 13.0.0, where support was added.
swagger-typescript-api@12.0.4
There was no discriminator support in this version, so the problem does not occur.
swagger-typescript-api@13.0.0
This version added support for discriminator, but it does not work correctly. This causes circular type references.
openapi-typescript@7.0.2
This library supports discriminator and there are no problems with cyclic type references.
Open StackBlitz:
The text was updated successfully, but these errors were encountered:
Facing same issue with 13.0.0
Sorry, something went wrong.
No branches or pull requests
Describe the bug
When using discliminator, cyclic dependencies appear in types. The problem appeared in version 13.0.0, where support was added.
swagger-typescript-api@12.0.4
There was no discriminator support in this version, so the problem does not occur.
swagger-typescript-api@13.0.0
This version added support for discriminator, but it does not work correctly. This causes circular type references.
openapi-typescript@7.0.2
This library supports discriminator and there are no problems with cyclic type references.
Reproduction
Open StackBlitz:
swagger-typescript-api@12.0.4
- generated/Api12.tsswagger-typescript-api@13.0.0
- generated/Api13.tsopenapi-typescript@7.0.2
- generated/Api.tsThe text was updated successfully, but these errors were encountered: