question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow repeating `@Path` annotations

See original GitHub issue

A 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:closed
  • Created 4 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jrhee17commented, Jun 29, 2019

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)

1reaction
jrhee17commented, Jun 16, 2019

mind if I work on this? 😄

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found