-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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
[BUG][Python] NameError: name 'AnyOf' is not defined #18612
Comments
I tried a bit more and got another, maybe more meaningful example. This one has a get and post path and breaks by producing an While this one, almost the same as before, but does not contain a get path, works. This one does not produce an unknown And as in #17415 someone stated out to reduce the version: if I change Anyone has a suggestions? |
Bug Report Checklist
Description
The pyhton client generates an object called
AnyOf
which does not exist.openapi-generator version
7.5.0 or this for me latest main branch
OpenAPI declaration file content or url
broken: https://gist.github.com/rei-ber/53a9c9bbf57ecd4d49e955f02fe33c46
works: https://gist.github.com/rei-ber/d93abc83f7dbabb5ff673517cfc4d4a6
Generation Details
Python 3.11.9
Podman 5.0.2
Steps to reproduce
Produces the following:
Related issues/PRs
#17415
Suggest a fix
If I change the title and remove
UUID
like:it works:
The text was updated successfully, but these errors were encountered: