> +import javax.ws.rs.core.MediaType;
> +
> +import org.jclouds.Fallbacks.EmptyListOnNotFoundOr404;
> +import org.jclouds.rest.annotations.Fallback;
> +import org.jclouds.rest.annotations.RequestFilters;
> +import org.jclouds.shipyard.domain.containers.ContainerInfo;
> +import org.jclouds.shipyard.fallbacks.NullOn500;
> +import org.jclouds.shipyard.filters.ServiceKeyAuthentication;
> +
> +@Consumes(MediaType.APPLICATION_JSON)
> +@RequestFilters({ ServiceKeyAuthentication.class })
> +public interface ContainersApi {
> +
> +   @Named("containers:list")
> +   @GET
> +   @Path("/api/containers")

Extract this path annotation to the root API. The "delegating" APIs propagate 
the path to their children, so you just have to annotate the methods in child 
APIs with the remaining path segments.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/116/files#r21862708

Reply via email to