Assuming a resource with a URI template like:
<resource id="CoolResource" path="Foo/{bar}/{burger}">
The generated class is:
FooBarBurger(String bar, String burger)
This is a little awkward and counterintuitive.
Perhaps the spec should say that if an id is specified for a resource
then the generated resource class will be based on the id of the
resource rather than its path.
This would allow above resource to have a generated class of: CoolResource
Would this be desirable?
--
Regards,
Farrukh
Web: http://www.wellfleetsoftware.com