Skip to content
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

[Kotlin] Do not use wildcard import #1401

Closed
wing328 opened this issue Nov 8, 2018 · 0 comments · Fixed by #2862
Closed

[Kotlin] Do not use wildcard import #1401

wing328 opened this issue Nov 8, 2018 · 0 comments · Fixed by #2862

Comments

@wing328
Copy link
Member

wing328 commented Nov 8, 2018

Description

ktlint cannot auto-correct wildcard import:

➜  openapi-generator git:(kotlin_post_process) ✗ /usr/local/bin/ktlint -F /Users/williamcheng/Code/openapi-generator/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/infrastructure/Serializer.kt
/Users/williamcheng/Code/openapi-generator/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/infrastructure/Serializer.kt:6:1: Wildcard import (cannot be auto-corrected)
openapi-generator version

Latest master

Command line used for generation
Steps to reproduce
 /usr/local/bin/ktlint -F /Users/williamcheng/Code/openapi-generator/samples/client/petstore/kotlin/src/main/kotlin/org/openapitools/client/infrastructure/Serializer.kt
Related issues/PRs

#1400

Suggest a fix/enhancement

If anyone wants to help on this, please reply to let us know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant