The with operator group one or more routes and apply common attributes, consumes and produces types, path exclusions, etc... to all them: ``` java { with(() -> { get("/a", ...); get("/b", ...); get("/c", ...); ... }).attr("foo", "bar") .produces("html"); } ```
The with operator group one or more routes and apply common attributes, consumes and produces types, path exclusions, etc... to all them:
{ with(() -> { get("/a", ...); get("/b", ...); get("/c", ...); ... }).attr("foo", "bar") .produces("html"); }