From d0b0ebf675be09394f497c63010bc55656d5bf4b Mon Sep 17 00:00:00 2001 From: fireblocks_dx_team Date: Mon, 10 Jun 2024 07:55:19 +0000 Subject: [PATCH] Generated SDK #4178 --- .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..ffebfe4 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..67c6da5 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..e4e5540 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..2940324 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.