-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels