Skip to content

WebFlux handlers using kotlin coroutines do not produce response documentation #351

Closed
@jnfeinstein

Description

@jnfeinstein

I've created a demo application here.

I believe the issue is related to this line. The return type for the mono implementation is reactor.core.publisher.Mono<com.example.demo.SystemStatusResponse> whereas the return type for the coroutine implementation is class java.lang.Object. It appears that the correct response type is locked away somewhere in the parameters: kotlin.coroutines.Continuation<? super com.example.demo.SystemStatusResponse> continuation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions