> + @SelectJson("services")
> + @Fallback(Fallbacks.EmptyFluentIterableOnNotFoundOr404.class)
> + FluentIterable<? extends Service> list();
> +
> + /**
> + * enable an os-service
> + * @param host - host to enable
> + * @param binary - binary to enable
> + * @return os-service that was enabled
> + */
> + @Named("os-services:list")
> + @PUT
> + @Path("/enable")
> + @SelectJson("service")
> + @Produces(MediaType.APPLICATION_JSON)
> + @Consumes(MediaType.APPLICATION_JSON)
The `@Consumes` annotation only needs to be applied to the top level interface,
which you have already done on line 47. Please remove the other `@Consumes`
annotations on the API methods.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/573/files#r19229490