zandero / rest.vertx

A JAX-RS like annotation processor for vert.x verticals and more
Apache License 2.0
160 stars 28 forks source link

Doesn't work with jakarta annonations #154

Open RobertoUa opened 10 months ago

RobertoUa commented 10 months ago

For instance jakarta.ws.rs.Path dependency jakarta.ws.rs:jakarta.ws.rs-api:3.1.0

drejc commented 10 months ago

If you wish you can provide a patch - see the: private void init(Annotation[] annotations) method in public class RouteDefinition here is the mapping for all annotations.

RobertoUa commented 10 months ago

Should it be supported for both types of annotations, right?

drejc commented 10 months ago

Of course we need to keep the lib backward compatible. Jakarta didn't exist when the rest.vertx was started - therefore the standard javax.annotation-api is used.