import io.vertx.ext.web.RoutingContext;
import io.vertx.ext.web.handler.BodyHandler;
public class RestShoppingAPIVerticle extends RestAPIVerticle {
public static final String API_BUY = "/shop/:productId";
@Override
<BUG>public void start(Future<Void> future) throws Exception {
final Router router = Router.router(vertx);</BUG>
router.route().handler(BodyHandler.create());
router.put(API_BUY).handler(this::apiBuy);
vertx.createHttpServer()

import io.vertx.ext.web.RoutingContext;
import io.vertx.ext.web.handler.BodyHandler;
public class RestShoppingAPIVerticle extends RestAPIVerticle {
public static final String API_BUY = "/shop/:productId";
@Override
public void start(Future<Void> future) throws Exception {
super.start();
final Router router = Router.router(vertx);
router.route().handler(BodyHandler.create());
router.put(API_BUY).handler(this::apiBuy);
vertx.createHttpServer()
