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.