Skip to content

Commit

Permalink
Expose REST resource via config
Browse files Browse the repository at this point in the history
This solves eugenp#16695.
  • Loading branch information
ahmadshahwan committed May 21, 2024
1 parent a7ac4c9 commit 541aca9
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package com.baeldung.boot.jersey;

import com.baeldung.boot.jersey.controllers.HelloController;
import org.glassfish.jersey.server.ResourceConfig;
import org.springframework.stereotype.Component;

@Component
public class JerseyResourceConfig extends ResourceConfig {

public JerseyResourceConfig() {
super(HelloController.class);
}
}

0 comments on commit 541aca9

Please sign in to comment.