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
  • #14061
Closed
Open
Issue created Nov 18, 2022 by Administrator@rootContributor

[BUG] The generator creates a 'kotlin-server' project that uses the old Ktor version

Created by: andreyaksenov

The command below generates a new Ktor project from the documentation.yaml spec:

openapi-generator generate -g kotlin-server -i documentation.yaml -o /tmp/openapi/kotlin-server/

The resulting project uses an old Ktor version (1.5.4), while the current version is 2.1.3. The project also uses the Locations plugin (AppMain.kt) that can be replaced with a new Resources plugin.

Assignee
Assign to
Time tracking