From f43d1a288ec47888c64c74beb3325e6d4306bceb Mon Sep 17 00:00:00 2001 From: Fedor Dudinsky Date: Thu, 14 Nov 2024 15:01:08 +0100 Subject: [PATCH] Glue me --- .../java/io/quarkus/ts/http/minimum/AbstractApplication.java | 4 ++-- .../ts/vertx/web/validation/ValidationHandlerOnRoutes.java | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/http/http-minimum/src/main/java/io/quarkus/ts/http/minimum/AbstractApplication.java b/http/http-minimum/src/main/java/io/quarkus/ts/http/minimum/AbstractApplication.java index 175a6e2ca..cda030943 100644 --- a/http/http-minimum/src/main/java/io/quarkus/ts/http/minimum/AbstractApplication.java +++ b/http/http-minimum/src/main/java/io/quarkus/ts/http/minimum/AbstractApplication.java @@ -1,10 +1,10 @@ package io.quarkus.ts.http.minimum; -//import jakarta.ws.rs.ApplicationPath; +import jakarta.ws.rs.ApplicationPath; import jakarta.ws.rs.core.Application; // TODO uncomment when https://github.com/quarkusio/quarkus/issues/42963 is fixed -//@ApplicationPath("/rest") +@ApplicationPath("/rest") public abstract class AbstractApplication extends Application { // Abstract jakarta.ws.rs.core.Application classes should be ignored } diff --git a/http/vertx-web-validation/src/main/java/io/quarkus/ts/vertx/web/validation/ValidationHandlerOnRoutes.java b/http/vertx-web-validation/src/main/java/io/quarkus/ts/vertx/web/validation/ValidationHandlerOnRoutes.java index 784badab2..761f5d637 100644 --- a/http/vertx-web-validation/src/main/java/io/quarkus/ts/vertx/web/validation/ValidationHandlerOnRoutes.java +++ b/http/vertx-web-validation/src/main/java/io/quarkus/ts/vertx/web/validation/ValidationHandlerOnRoutes.java @@ -39,6 +39,7 @@ public class ValidationHandlerOnRoutes { //TODO when Quarkus use vert.x version 4.4.6 we can use SchemaRepository instead of SchemaParser with SchemaRouter + // https://github.com/quarkus-qe/quarkus-test-suite/issues/2192 //private SchemaRepository schemaRepository =SchemaRepository.create(new JsonSchemaOptions().setDraft(Draft.DRAFT7).setBaseUri(BASEURI)); private SchemaParser schemaParser; private SchemaRouter schemaRouter;