> +   @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);

Well I did some digging!

I can combine:
@SelectJson("routers")
@OnlyElement

And that will work. I still need to figure out why the service does this.

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

Reply via email to