-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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][swift5] module and class with same name #9953
Comments
Running into the same issue here. This is a rather critical error for us, any idea when this will be fixed? |
Can you please provide a sample project with the error? Thanks |
OpenApi_Issue9953.zip |
Hey, I created #10387 that should fix this issue. |
Description
Since your change to deprecate the #projectName#API class and replace it with the #projectName# class in the APIs file and naming the module also #projectName# it is now impossible to access an api model type by adding the module name since the swift compiler now complains the the class #projectName# doesn't contain the type XXX
This is due to a bug in the swift compiler (see https://bugs.swift.org/browse/SR-898) which is still not resolved.
openapi-generator version
5.2.0
The text was updated successfully, but these errors were encountered: