Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • O openapi-generator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,476
    • Issues 3,476
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 402
    • Merge requests 402
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OpenAPI Tools
  • openapi-generator
  • Issues
  • #14652
Closed
Open
Issue created Feb 09, 2023 by Administrator@rootContributor

[BUG][kotlin-spring] Wildcard imports in generated Kotlin classes

Created by: volsusdev

Hi @parenko,

what was the reason for introducing wildcard imports to [kotlin-spring] with one of your last commits (https://github.com/OpenAPITools/openapi-generator/commit/cffe2d0259378373500dbc47609c6c4a97d661ca)? We now have the issue that it is not possible anymore to use ktlint for linting the generated code.

Bildschirmfoto 2023-02-09 um 09 05 19

openapi-generator version

6.3.0

Related issues/PRs

#14369

Suggest a fix

If there is no problem with single class imports in this case I would create a PR to change this back for javax.validation.constraints imports.

Assignee
Assign to
Time tracking