swagger-api/swagger-codegen
Ver no GitHubAndroid Codegenerator generates import statement for APIs without models
Open
#3.956 aberto em 9 de out. de 2016
Client: AndroidIssue: Bughelp wanted
Métricas do repositório
- Stars
- (12.701 stars)
- Métricas de merge de PR
- (Nenhuma PRs mesclada em 30d)
Description
Description
Android Codegenerator generates import statement for APIs without models. This results in the compiler not to be able to resolve the term "Model" in import io.swagger.client.model.*;
Swagger-codegen version
Swagger version: 2.2.1, tagged zip downloaded and installed by maven on windows
Swagger declaration file content or url
Any file that doesnt produce any models
Command line used for generation
java -jar ../swagger-codegen-2.2.1/modules/swagger-codegen-cli/target/swagger-codegen-cli.jar generate -i >URL to declaration file< -l android
Steps to reproduce
Generate the code - done
Related issues
nothing found. sorry
Suggest a Fix
the import statement should be omittet if there are no models