Skip to content

1.0.0.M13

Pre-release
Pre-release
Compare
Choose a tag to compare
@hauner hauner released this 01 May 16:01
· 754 commits to master since this release

improvements

  • 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 of ResponseEntity<String>. It is set using the result mapping.

    map:
      result:
        to: org.springframework.http.ResponseEntity
    
  • there is a new single mapping that wraps non-array like result types with the given single mapping type. It works together with the result mapping, allowing a ResponseEntity<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 given multi mapping type. For example it will replace List<String> with Flux<String> using the mapping below. It works together with the result mapping, allowing a ResponseEntity<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.