hikaku icon indicating copy to clipboard operation
hikaku copied to clipboard

Cannot locate classes with javax.ws.rs.Path

Open lutra opened this issue 4 years ago • 1 comments

Setup information

hikaku version: 3.2.0

specification converter: OpenAPI

implementation converter: JAX-RS

build tool and version: maven 3.6.3

Describe the bug

I'm trying to use Hikaku with Quarkus (1.12.2.Final). Quarkus uses the javax.ws.rs package instead of jakarta.ws.rs. When using de.codecentric.hikaku.converters.jaxrs.JaxRsConverter the ClassLocator cannot find any Paths. I also cannot override JaxRsConverter because its set final by kotlins default.

Expected behavior

Find classes with javax.ws.rs.Path as well as jakarta.ws.rs.Path annotations.

lutra avatar Mar 29 '21 09:03 lutra

HI @lutra, for the moment you could try hikaku 3.1.2. It still uses jax-rs < 3.0.0 so the package here is still javax.ws.rs.

cc-jhr avatar Mar 30 '21 12:03 cc-jhr