Class-Level Request Mapping on Controller and Custom POST Breaks GETs [DATAREST-1265] #1628
Labels
status: duplicate
A duplicate of another issue
type: documentation
A documentation update
type: enhancement
A general enhancement
Mike Whittemore opened DATAREST-1265 and commented
If I have a
UserRepository
and then create a custom controller endpoint for handling resource creation, e.g.requests like
GET /users
stop working with the response:If I move the request mapping from the class to the method (and if there are multiple endpoints/paths, to every one) everything works as expected:
This seems like a bug to me, since it is inconsistent with WebMVC behavior and I only discovered the "fix" via "voodoo" programming
No further details from DATAREST-1265
The text was updated successfully, but these errors were encountered: