- The controller method returns
ResponseEntity<Flux<CourseRepresentation>>
- The service method returns
Flux<Course>
Question: should the Reactive API's controller return type be ResponseEntity<Flux<CourseRepresentation>>
or Mono<ResponseEntity<CourseRepresentation>>
or Mono<ResponseEntity<Flux<CourseRepresentation>>>
? See Spring WebFlux documentation