Open mrclrchtr opened 1 week ago
Start a new pull request in StackBlitz Codeflow.
@mrclrchtr Is this OpenAPI 3.0? And to be clear, are you setting up the project for the first time or these warnings don't happen with the current parser and the transformer gets generated?
Thx for the fast reply.
I have been using HeyAPI for a long time and the warnings do not occur with the old parser. The transformers gets generated in the types.gen.ts file.
For those enums with warnings, can you provide the original OpenAPI specification? The sample you shared doesn't have the same enum values so I assume it's a different part of spec
Yes, for sure. I created the minimal example: https://stackblitz.com/edit/hey-api-client-fetch-example-a7jmdo?file=package.json
simply run npm run openapi-ts
and the errors will occur.
Description
Hi,
I tried the
experimentalParser: true
.I receive many warnings about incomplete transformer produced.
It seems to be enums with or or and operator:
Do you need more infos?
OpenAPI specification (optional)
System information (optional)
"@hey-api/openapi-ts": "0.55.1"