-
Notifications
You must be signed in to change notification settings - Fork 48
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels