> +@RequestFilters(AuthenticateRequest.class) > +public interface WebhookApi { > + /** > + * Create a webhook. > + * @param name The webhook name. Required. > + * @param metadata A map of associated metadata. Use String keys. > Required. > + * @return WebhookResponse The webhook created by this call. > + * @see Webhook > + * @see WebhookResponse > + * @see Group > + * @see ScalingPolicy > + */ > + @Named("Webhook:create") > + @POST > + @Path("/webhooks") > + @Consumes(MediaType.APPLICATION_JSON)
All methods consume the same MediaType. Move this annotation to the class declaration and remove it from all methods? --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs-openstack/pull/48/files#r7513084