added missing requires

This commit is contained in:
PhilReact 2025-05-15 01:20:40 +03:00
parent 5780a6de7d
commit 994761a87e
3 changed files with 3 additions and 0 deletions

View File

@ -40,6 +40,7 @@ public class DevProxyService {
private DevProxyService() { private DevProxyService() {
this.config = new ResourceConfig(); this.config = new ResourceConfig();
this.config.packages("org.qortal.api.proxy.resource", "org.qortal.api.resource"); this.config.packages("org.qortal.api.proxy.resource", "org.qortal.api.resource");
this.config.register(org.glassfish.jersey.media.multipart.MultiPartFeature.class);
this.config.register(OpenApiResource.class); this.config.register(OpenApiResource.class);
this.config.register(ApiDefinition.class); this.config.register(ApiDefinition.class);
this.config.register(AnnotationPostProcessor.class); this.config.register(AnnotationPostProcessor.class);

View File

@ -39,6 +39,7 @@ public class DomainMapService {
private DomainMapService() { private DomainMapService() {
this.config = new ResourceConfig(); this.config = new ResourceConfig();
this.config.packages("org.qortal.api.resource", "org.qortal.api.domainmap.resource"); this.config.packages("org.qortal.api.resource", "org.qortal.api.domainmap.resource");
this.config.register(org.glassfish.jersey.media.multipart.MultiPartFeature.class);
this.config.register(OpenApiResource.class); this.config.register(OpenApiResource.class);
this.config.register(ApiDefinition.class); this.config.register(ApiDefinition.class);
this.config.register(AnnotationPostProcessor.class); this.config.register(AnnotationPostProcessor.class);

View File

@ -39,6 +39,7 @@ public class GatewayService {
private GatewayService() { private GatewayService() {
this.config = new ResourceConfig(); this.config = new ResourceConfig();
this.config.packages("org.qortal.api.resource", "org.qortal.api.gateway.resource"); this.config.packages("org.qortal.api.resource", "org.qortal.api.gateway.resource");
this.config.register(org.glassfish.jersey.media.multipart.MultiPartFeature.class);
this.config.register(OpenApiResource.class); this.config.register(OpenApiResource.class);
this.config.register(ApiDefinition.class); this.config.register(ApiDefinition.class);
this.config.register(AnnotationPostProcessor.class); this.config.register(AnnotationPostProcessor.class);