You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The imports are not complete. On closer examination of the generated code, the HTTP request model classes are not imported, only the response classes for the API are imported.
This has been fixed as there is a wildcard import (*) now (I checked the develop_2.0 branch).
For example in PetApi.java from the Petstore Java sample:
The Java and Android API Codegen only imports the outermost model classes. Other model classes that are nested within these classes are not imported.
Quick fix - Do a * style import in . Depend on IDE to optimize the imports.
The text was updated successfully, but these errors were encountered: