Skip to content

Commit cb8f09d

Browse files
committed
fixed mapping example
1 parent 6ae8e08 commit cb8f09d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/modules/ROOT/pages/processor/response.adoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,9 @@ To map non-array like responses to a `Mono<>` set the `single` mapping:
8787
[source,yaml]
8888
----
8989
map:
90-
single:
91-
to: reactor.core.publisher.Mono
90+
types:
91+
- from: single
92+
to: reactor.core.publisher.Mono
9293
----
9394

9495
The processor will now wrap all non-array like response types with the given `single` mapping.

0 commit comments

Comments
 (0)