-
Notifications
You must be signed in to change notification settings - Fork 37
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
Missing enum import #76
Comments
cortinico
added a commit
to cortinico/swagger-gradle-codegen
that referenced
this issue
Dec 26, 2019
Previously inner types of complex types were not imported properly on operations. This resulted in Retrofit interfaces missing some imports. This commit introduces methods to inspect and import the inner types used as result types of operations. Fixes Yelp#76
Thanks for reporting @midoriiro The bug was related to the return type of your endpoint:
Will generate a method with this return type: Previously, inner types (such as |
cortinico
added a commit
to cortinico/swagger-gradle-codegen
that referenced
this issue
Jan 1, 2020
Previously inner types of complex types were not imported properly on operations. This resulted in Retrofit interfaces missing some imports. This commit introduces methods to inspect and import the inner types used as result types of operations. Fixes Yelp#76
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My swagger.json was generated by swashbuckle (from an asp.net core web service). I trying to generate a kotlin client from this swagger.json, the generation run successfully. But on the api generated object enum import is missing.
I followed this sample code. Maybe I missing somethings.
You can reproduce the bug from this repository : https://github.com/midoriiro/yelp-swagger-gradle-codegen-missing-enum-import
The text was updated successfully, but these errors were encountered: