RFC: API changes

Devan Goodwin dgoodwin at rm-rf.ca
Wed Mar 3 23:57:02 UTC 2010


On Wed, Mar 3, 2010 at 6:05 PM, Jesus M. Rodriguez <jmrodri at gmail.com> wrote:
>> 1:: Plurals
>> -----------
>> No real reference, but is looks like most folks use /owners /customers
>> /jedi instead of /owner /customer /jedum.
>
> Not sure how the framework handles this without moving them to a new
> Resource class. Today we have an @Path("/owner") at the top of
> the OwnerResource, maybe we remove that and put @Path on individual
> methods otherwise, we're looking at OwnersResource, CustomersResource,
> JediResource (nothing to see in this one).

Can't we just change the @Path to point to "/owners" across the board?
I was reading this as changing to plurals for all resources all the
time but I may have gotten a wire crossed there.

-- 
Devan Goodwin <dgoodwin at rm-rf.ca>
http://rm-rf.ca



More information about the candlepin mailing list