Skip to content

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

@ffffionn

Description

@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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions