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
  • #9902
Closed
Open
Issue created Jul 06, 2021 by Administrator@rootContributor

[BUG] [kotlin-spring] Kotlin generator server stubs may not compile with reactive option on

Created by: ffffionn

Description

Using the maven plugin with the reactive option and the delegate pattern enabled, one of the endpoints defined in the OpenApiSpec doc requiring an input of Array doesn't compile.

The delegate class function has an input of kotlin.collections.List<kotlin.Long> whereas the V1Api controller class is passing through a Flow<kotlin.Long>

openapi-generator version

5.1.1

OpenAPI declaration file content or url

https://gist.github.com/ffffionn/bd8c8cd9fbd2edce348e3029928f621d

Command line used for generation

Maven plugin

Steps to reproduce

Generate the files and compile.

Assignee
Assign to
Time tracking