JAX-RS has annotations for HTTP verbs such as GET (@GET) and POST (@POST) but there is no @PATCH annotation. How
JAX-RS 2.1 added @PATCH to the list of supported HTTP methods.
When using Swagger to document a REST API, you could use the existing @PATCH annotation defined in the io.swagger.jaxrs package.
Dropwizard defines a @PATCH annotation in the io.dropwizard.jersey package.
If the above mentioned approaches don't work for you, you can write your own @PATCH annotation:
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@HttpMethod("PATCH")
public @interface PATCH { }
The @HttpMethod annotation is used to associate the name of a HTTP method with an annotation, creating a what the JAX-RS specification calls resource method designator.
Your own @PATCH annotation should work fine in Swagger.