mirror of
https://github.com/jlengrand/openapi-generator.git
synced 2026-03-10 08:31:23 +00:00
* Improve Add Async - Spring Cloud test By testing the generated code. This will be used to detect regressions. * Spring: Fix reactive return type for list Fix for #16883. When *reactive* is enabled and response entities is *disabled*, use `Flux<Item>` to stream the output instead of `Mono<Flux<Item>>` With Spring Reactive, the expected return type for an array of item is `Flux<Item>`. Without this patch, the generated code is `Mono<Flux<Item>>`. This is fixed by introducing specific handling for return types when reactive is enabled. In particular, "responseWrapper" is not used anymore in such situations. * Fix methodBody * Fix invalid test * Fix SSE * Fix methodBody when isArray and useResponseEntity * methodBody: Flux.empty() instead of s -> {}