From bdc99a37a85e070b3261a29aea9cb9c5798552f2 Mon Sep 17 00:00:00 2001 From: Andrej Petras Date: Thu, 24 Oct 2024 13:44:53 +0200 Subject: [PATCH] feat: create library custom directory for the openapi generator (#220) --- extensions/permissions/client/pom.xml | 2 +- .../client/src/main/resources/application.properties | 2 +- extensions/tenant/pom.xml | 2 +- extensions/tenant/src/main/resources/application.properties | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/extensions/permissions/client/pom.xml b/extensions/permissions/client/pom.xml index c541a00..f26c7f2 100644 --- a/extensions/permissions/client/pom.xml +++ b/extensions/permissions/client/pom.xml @@ -64,7 +64,7 @@ https://raw.githubusercontent.com/onecx/onecx-permission/main/openapi/onecx-permission-v1.yaml - target/tmp/openapi + target/onecx/quarkus/permissions/openapi onecx-permission-v1.yaml true diff --git a/extensions/permissions/client/src/main/resources/application.properties b/extensions/permissions/client/src/main/resources/application.properties index a18b6dd..f8054d3 100644 --- a/extensions/permissions/client/src/main/resources/application.properties +++ b/extensions/permissions/client/src/main/resources/application.properties @@ -1,7 +1,7 @@ # Permission service rest client configuration -quarkus.openapi-generator.codegen.input-base-dir=target/tmp/openapi +quarkus.openapi-generator.codegen.input-base-dir=target/onecx/quarkus/permissions/openapi quarkus.openapi-generator.codegen.spec.onecx_permission_v1_yaml.base-package=gen.org.tkit.onecx.permission quarkus.openapi-generator.codegen.spec.onecx_permission_v1_yaml.return-response=false quarkus.openapi-generator.codegen.spec.onecx_permission_v1_yaml.config-key=onecx_permission diff --git a/extensions/tenant/pom.xml b/extensions/tenant/pom.xml index aa08d9b..e20316e 100644 --- a/extensions/tenant/pom.xml +++ b/extensions/tenant/pom.xml @@ -88,7 +88,7 @@ https://raw.githubusercontent.com/onecx/onecx-tenant/main/openapi/onecx-tenant-v1.yaml - target/tmp/openapi + target/onecx/quarkus/tenant/openapi onecx-tenant-v1.yaml true diff --git a/extensions/tenant/src/main/resources/application.properties b/extensions/tenant/src/main/resources/application.properties index 2043479..ff0ef65 100644 --- a/extensions/tenant/src/main/resources/application.properties +++ b/extensions/tenant/src/main/resources/application.properties @@ -3,7 +3,7 @@ onecx.tenant.service.client.url=http://onecx-tenant-svc:8080 quarkus.rest-client.onecx_tenant.url=${onecx.tenant.service.client.url} quarkus.rest-client.onecx_tenant.providers=io.quarkus.oidc.client.reactive.filter.OidcClientRequestReactiveFilter -quarkus.openapi-generator.codegen.input-base-dir=target/tmp/openapi +quarkus.openapi-generator.codegen.input-base-dir=target/onecx/quarkus/tenant/openapi quarkus.openapi-generator.codegen.spec.onecx_tenant_v1_yaml.base-package=gen.org.tkit.onecx.tenant.client quarkus.openapi-generator.codegen.spec.onecx_tenant_v1_yaml.return-response=true quarkus.openapi-generator.codegen.spec.onecx_tenant_v1_yaml.config-key=onecx_tenant