> @@ -71,6 +72,19 @@
> Image get(@PathParam("id") int id);
>
> /**
> + * Gets the details of the given image.
> + *
> + * @param slug The slug of the image to get.
> + * @return The details of the image or <code>null</code> if no image
> exists with the given slug.
> + */
> + @Named("image:get")
> + @GET
> + @Path("/{slug}")
> + @SelectJson("image")
> + @Fallback(NullOnNotFoundOr404.class)
> + Image get(@PathParam("slug") String slug);
Mark as `@Nullable`?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/63/files#r12805867