feign icon indicating copy to clipboard operation
feign copied to clipboard

JAX-RS 2 Contract doesn't handle class-level `@Path` annotations correctly

Open toadzky opened this issue 3 years ago • 1 comments

When setting a class level path annotation, the jax-rs2 contract tries to set the base path as the target, which throws an exception because the path segment isn't an HTTP url. I'm not sure why the root path annotation is trying to set the target field since it's a path-prefix, not a target.

toadzky avatar Mar 12 '21 15:03 toadzky

@toadzky

Can you please provide a minimum working example of the problem so we can investigate?

kdavisk6 avatar Mar 12 '21 16:03 kdavisk6