Skip to content

Commit

Permalink
feat: create library custom directory for the openapi generator (#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrejpetras authored Oct 24, 2024
1 parent 96bd735 commit bdc99a3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion extensions/permissions/client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
<url>
https://raw.githubusercontent.com/onecx/onecx-permission/main/openapi/onecx-permission-v1.yaml
</url>
<outputDirectory>target/tmp/openapi</outputDirectory>
<outputDirectory>target/onecx/quarkus/permissions/openapi</outputDirectory>
<outputFileName>onecx-permission-v1.yaml</outputFileName>
<skipCache>true</skipCache>
</configuration>
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion extensions/tenant/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
<url>
https://raw.githubusercontent.com/onecx/onecx-tenant/main/openapi/onecx-tenant-v1.yaml
</url>
<outputDirectory>target/tmp/openapi</outputDirectory>
<outputDirectory>target/onecx/quarkus/tenant/openapi</outputDirectory>
<outputFileName>onecx-tenant-v1.yaml</outputFileName>
<skipCache>true</skipCache>
</configuration>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bdc99a3

Please sign in to comment.