Allow repeating `@Path` annotations
See original GitHub issueA user wants to specify multiple path pattens for a single service method in an annotated service. For example:
@Get
@Post
@Path("/v1/some_api")
@Path("/v2/some_api")
Alternatively, we could consider allowing repeating @METHOD
annotations, e.g.
@Post("/v1/some_api")
@Post("/v2/some_api")
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
java - Can we have more than one @Path annotation for same ...
The @Path annotation in JAX-RS accepts parameters, whose values can be restricted using regular expressions. This annotation: @Path("a/{ ...
Read more >Repeating Annotations - The Java Tutorials
Repeating Annotations · Step 1: Declare a Repeatable Annotation Type · Step 2: Declare the Containing Annotation Type.
Read more >Paths analysis overview - Heap Help Center
The paths module in Heap allows you to explore the customer journey by showing you the most common paths into and out of...
Read more >Insert a Repeating Detail - Revit - Autodesk Knowledge Network
Click Annotate tab Detail panel Component drop-down (Repeating Detail). Sketch the repeating detail, and then click Modify. Click Modify | ...
Read more >Annotations - Application Gateway Ingress Controller
This annotation allows the backend path specified in an ingress resource to be ... Repeat the steps above if you want to configure...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I feel like the first proposal and second proposal both are reasonable and can be worked on in separate iterations. I’ll start with working on the first proposal (allowing multiple paths, but not multiple
@METHOD
annotations)mind if I work on this? 😄