1.0.0.M13
Pre-releaseimprovements
-
the result wrapper is no longer fixed to
ResponseEntity<>
. The default is no result wrapper. The endpoints now return the plain response type, e.g.String
instead ofResponseEntity<String>
. It is set using theresult
mapping.map: result: to: org.springframework.http.ResponseEntity
-
there is a new
single
mapping that wraps non-array like result types with the givensingle
mapping type. It works together with theresult
mapping, allowing aResponseEntity<Mono<...>>
endpoint response.map: single: to: reactor.core.publisher.Mono
-
there is a new
multi
mapping that replaces array like result types or parameters with the givenmulti
mapping type. For example it will replaceList<String>
withFlux<String>
using the mapping below. It works together with theresult
mapping, allowing aResponseEntity<Flux<...>>
endpoint response.map: multi: to: reactor.core.publisher.Flux
-
#96, improved creation of valid java identifier for identifier names from an openapi.yaml file.