> + @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);
No, because of the array. Check the test JSON file -
https://github.com/rackerlabs/jclouds-labs-openstack/blob/neutron-refactoring/openstack-neutron/src/test/resources/router_get_response.json
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/111/files#r14019138