grtjn/Corona — comment on commit 5684c065103d22caa8a93bac38354d166e724d3b
File: config/endpoints.xqy line 132
By grtjn:

Yes, I was aware of that. But you really think the risk is that big? You will immediately notice it when you forget a param declaration on one of both, and try to test it; the ml-rest-lib won't resolve to the endpoint.

Apart from that, how about /store, /namedquery, /manage/*? Multiple uris pointing to same endpoint script with different params as well. How can one be sure it's all correct if the control is not at the endpoint script itself?

Perhaps that is the solution: let all endpoint scripts provide their own details themselves through public vars or functions..