> @@ -81,6 +76,15 @@
> @Payload("%7B\"keypair\":%7B\"name\":\"{name}\"%7D%7D")
> ListenableFuture<? extends KeyPair> create(@PayloadParam("name") String
> name);
>
> + @Named("keypair:get")
> + @GET
> + @Path("/os-keypairs/{name}")
> + @SelectJson("keypair")
> + @Consumes(MediaType.APPLICATION_JSON)
> + @Fallback(NullOnNotFoundOr404.class)
> + @Nullable
> + ListenableFuture<? extends KeyPair> get(@PathParam("name") String name);
Is the bounded wildcard needed? I am not sure the create needs it either.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/391/files#r13992615