Use the list HttpMethod.values() returns

Proprietary

Since Vert.x 4 HttpMethod is a class rather than an enum, and HttpMethod.values() returns a List<HttpMethod> instead of an array. Arrays.asList(HttpMethod.values()) becomes HttpMethod.values().

io.moderne.vertx.HttpMethodValuesList
mod run . --recipe=io.moderne.vertx.HttpMethodValuesList

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.