From 04a64e2a46fd2b64998a8432e69f438ac5347792 Mon Sep 17 00:00:00 2001 From: Andrew Rouse Date: Tue, 11 Jun 2024 13:22:41 +0100 Subject: [PATCH] Add ZeppelinResource to application All the resource classes we expect to be scanned should be part of the application. --- .../eclipse/microprofile/openapi/apps/airlines/JAXRSApp.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tck/src/main/java/org/eclipse/microprofile/openapi/apps/airlines/JAXRSApp.java b/tck/src/main/java/org/eclipse/microprofile/openapi/apps/airlines/JAXRSApp.java index 21fe1053..60f9eefb 100644 --- a/tck/src/main/java/org/eclipse/microprofile/openapi/apps/airlines/JAXRSApp.java +++ b/tck/src/main/java/org/eclipse/microprofile/openapi/apps/airlines/JAXRSApp.java @@ -56,6 +56,7 @@ import org.eclipse.microprofile.openapi.apps.airlines.resources.AvailabilityResource; import org.eclipse.microprofile.openapi.apps.airlines.resources.ReviewResource; import org.eclipse.microprofile.openapi.apps.airlines.resources.UserResource; +import org.eclipse.microprofile.openapi.apps.airlines.resources.ZepplinResource; import org.eclipse.microprofile.openapi.apps.airlines.resources.bookings.BookingResource; import jakarta.ws.rs.ApplicationPath; @@ -372,6 +373,7 @@ public Set getSingletons() { singletons.add(new BookingResource()); singletons.add(new ReviewResource()); singletons.add(new UserResource()); + singletons.add(new ZepplinResource()); return singletons; }