Details
-
Task
-
Resolution: Done
-
Neutral
-
None
-
None
-
None
-
None
-
-
Empty show more show less
-
Empty show more show less
Description
Add a note to https://docs.magnolia-cms.com/product-docs/6.2/Developing/Development-how-tos/How-to-create-a-custom-Java-based-REST-endpoint.html about naming the path on the class and the method levels.
Problem
if you name your class path (CP) to begin with same string as your method path (MP), for example,
(CP) /hello/v1
(MP) /hello
the endpoint will not work and the Could not find resource for full path: ... error message is generated.
The note
The note should give a hint that the class path should not begin with the same string as the method path.
Checklists
Acceptance criteria