> +   @ResponseParser(ParseRouters.class)
> +   @Fallback(EmptyRoutersFallback.class)
> +   Routers list(PaginationOptions options);
> +
> +   /**
> +    * Returns a Routers collection that should contain a single router with 
> the id requested.
> +    *
> +    * @param id the id of the router to return
> +    * @return Routers collection or empty if not found
> +    */
> +   @Named("router:get")
> +   @GET
> +   @Path("/{id}")
> +   @ResponseParser(ParseRouters.class)
> +   @Fallback(EmptyRoutersFallback.class)
> +   Routers get(@PathParam("id") String id);

Can't we return the single router here, or `null` if not found instead of a 
collection with a single element? This is how other get methods behave.

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

Reply via email to