Skip to content

Commit

Permalink
Add ZeppelinResource to application
Browse files Browse the repository at this point in the history
All the resource classes we expect to be scanned should be part of the
application.
  • Loading branch information
Azquelt committed Jun 11, 2024
1 parent eb1b324 commit 04a64e2
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -372,6 +373,7 @@ public Set<Object> getSingletons() {
singletons.add(new BookingResource());
singletons.add(new ReviewResource());
singletons.add(new UserResource());
singletons.add(new ZepplinResource());
return singletons;
}

Expand Down

0 comments on commit 04a64e2

Please sign in to comment.