Hi. I think there is a typo in https://github.com/cescoffier/reactive-systems-in-java/blob/main/chapter-7/order-example/src/main/java/org/acme/ShopResource.java, method `createUser` (got MethodNotAllowed response). There should be no {name} in `@Path` (you use QueryParam instead of PathParam). It should be ``` @POST @Path("/users") public Uni<Long> createUser(@QueryParam("name") String name) {} ``` I removed `{name}` from `@Path` and everything works fine. That typo appears in book (Example 7-8), page 130 as well.
Hi.
I think there is a typo in https://github.com/cescoffier/reactive-systems-in-java/blob/main/chapter-7/order-example/src/main/java/org/acme/ShopResource.java, method
createUser(got MethodNotAllowed response). There should be no {name} in@Path(you use QueryParam instead of PathParam). It should beI removed
{name}from@Pathand everything works fine.That typo appears in book (Example 7-8), page 130 as well.