Skip to content

[REQ] [JAVA] [SPRING] Handle arrays of strings as Mono<List<String>> instead of Flux<String> when using reactive types #24077

Description

@TMRGZ

Is your feature request related to a problem? Please describe.

When the describing the operation that returns an array of strings, the reactive Spring generator generates Flux<String>

This issue is the equivalent to this one from the Java Webclient: #7118

Describe the solution you'd like

An equivalent solution that returns a Mono<List<String>>

Additional context

I'll provide a draft PR inspired on the one that fixes the problem for the Java WebClient

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions