-
-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
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
Transformers unhandled cases #1739
Comments
|
Hey @lifeiscontent, I'll need more context. I was able to generate a client based on the example you provided https://stackblitz.com/edit/hey-api-example-rqoduxp6?file=openapi-ts.config.ts,src%2Fsort.xyz%2Fclient.gen.ts,src%2Fsort.xyz%2Fschemas.gen.ts,src%2Fsort.xyz%2Ftypes.gen.ts |
@mrlubos when running the openapi-ts task I'm seeing a bunch of messages like: ... is too complex and won't be currently processed. This will likely produce an incomplete transformer which is not what you want. Please open an issue if you'd like this improved https://github.com/hey-api/openapi-ts/issues |
Oh yes that's true, your initial message made it sound like nothing was being generated. Will have a look, thanks for reporting! |
@mrlubos also if you look at the transformers they have some pretty odd return statements. https://stackblitz.com/edit/hey-api-example-rqoduxp6?file=src%2Fsort.xyz%2Ftransformers.gen.ts |
Yep! |
Description
I can't generate a client from: https://api.sort.xyz/docs
let me know if there is anything I can help with in terms of context / something that just looks blantently wrong.
Reproducible example or configuration
https://stackblitz.com/edit/hey-api-example-ykdsu9dk
OpenAPI specification (optional)
No response
System information (optional)
No response
The text was updated successfully, but these errors were encountered: