anchor.diff:  .src/main/java/org/acme/vertx/FruitResource.java
   ----
   @POST
  -public CompletionStage<Response> create(Fruit fruit) {
  +public Uni<Response> create(Fruit fruit) {
       return fruit.save(client)
  -            .thenApply(id -> URI.create("/fruits/" + id))
  -            .thenApply(uri -> Response.created(uri).build());
  +            .map(id -> URI.create("/fruits/" + id))
  +            .map(uri -> Response.created(uri).build());
   }
   ----
   
  
positive.code: .src/main/java/org/acme/vertx/FruitResource.java
  ----
  @GET
  public CompletionStage<Response> get() {
      return Fruit.findAll(client)
              .thenApply(Response::ok)
              .thenApply(ResponseBuilder::build);
  }
  ----
  
  
negative.code: ----
  @GET
  @Path("{id}")
  public Uni<Response> getSingle(@PathParam Long id) {
      return Fruit.findById(client, id)
              .map(fruit -> fruit != null ? Response.ok(fruit) : Response.status(Status.NOT_FOUND)) // <1>
              .map(ResponseBuilder::build); // <2>
  }
  ----
  <1> Prepare a JAX-RS response with  either the `Fruit` instance if found or the `404` status code.
  