From baffb6692a31cd52f6449138ebfeea7c2edd3058 Mon Sep 17 00:00:00 2001 From: fireblocks_dx_team Date: Mon, 10 Jun 2024 10:36:14 +0000 Subject: [PATCH] Generated SDK #6789 --- .github/workflows/create-pr.yml | 25 +++++++++++++++++++ api/openapi.yaml | 2 +- docs/PolicyEditorBetaApi.md | 2 +- .../sdk/api/PolicyEditorBetaApi.java | 2 +- .../sdk/api/PolicyEditorBetaApiTest.java | 2 +- 5 files changed, 29 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/create-pr.yml diff --git a/.github/workflows/create-pr.yml b/.github/workflows/create-pr.yml new file mode 100644 index 0000000..f92a653 --- /dev/null +++ b/.github/workflows/create-pr.yml @@ -0,0 +1,25 @@ +name: Create Pull Request + +on: + push: + branches: + - 'fireblocks-api-spec/generated/*' + +jobs: + create-pull-request: + runs-on: ubuntu-latest + + steps: + - name: Check out repository code + uses: actions/checkout@v4 + + - name: Create pull request + run: | + gh pr create \ + --title "${{ github.event.commits[0].message }}" \ + --body "This PR was automatically generated." \ + --base master \ + --head ${{ github.ref }} \ + --reviewer asafs932,zoharsf,YoavBZ + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/api/openapi.yaml b/api/openapi.yaml index 85a1999..ea3f690 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -11554,7 +11554,7 @@ paths: /tap/active_policy: get: description: | - Returns the active policy and its validation.
+ Returns the active policy and its validation...
**Note:** These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks TAP, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. operationId: getActivePolicy diff --git a/docs/PolicyEditorBetaApi.md b/docs/PolicyEditorBetaApi.md index ec1b551..d8be611 100644 --- a/docs/PolicyEditorBetaApi.md +++ b/docs/PolicyEditorBetaApi.md @@ -18,7 +18,7 @@ All URIs are relative to https://developers.fireblocks.com/reference/ Get the active policy and its validation -Returns the active policy and its validation. </br> **Note:** These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks TAP, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. +Returns the active policy and its validation... </br> **Note:** These endpoints are currently in beta and might be subject to changes. If you want to participate and learn more about the Fireblocks TAP, please contact your Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. ### Example diff --git a/src/main/java/com/fireblocks/sdk/api/PolicyEditorBetaApi.java b/src/main/java/com/fireblocks/sdk/api/PolicyEditorBetaApi.java index e9bd919..6d7dac3 100644 --- a/src/main/java/com/fireblocks/sdk/api/PolicyEditorBetaApi.java +++ b/src/main/java/com/fireblocks/sdk/api/PolicyEditorBetaApi.java @@ -72,7 +72,7 @@ private String formatExceptionMessage(String operationId, int statusCode, String } /** - * Get the active policy and its validation Returns the active policy and its validation. + * Get the active policy and its validation Returns the active policy and its validation... * </br> **Note:** These endpoints are currently in beta and might be subject to changes. * If you want to participate and learn more about the Fireblocks TAP, please contact your * Fireblocks Customer Success Manager or send an email to CSM@fireblocks.com. diff --git a/src/test/java/com/fireblocks/sdk/api/PolicyEditorBetaApiTest.java b/src/test/java/com/fireblocks/sdk/api/PolicyEditorBetaApiTest.java index 6f06629..b0b70bf 100644 --- a/src/test/java/com/fireblocks/sdk/api/PolicyEditorBetaApiTest.java +++ b/src/test/java/com/fireblocks/sdk/api/PolicyEditorBetaApiTest.java @@ -33,7 +33,7 @@ public class PolicyEditorBetaApiTest { /** * Get the active policy and its validation * - *

Returns the active policy and its validation. </br> **Note:** These endpoints are + *

Returns the active policy and its validation... </br> **Note:** These endpoints are * currently in beta and might be subject to changes. If you want to participate and learn more * about the Fireblocks TAP, please contact your Fireblocks Customer Success Manager or send an * email to CSM@fireblocks.com.