Skip to content

Commit

Permalink
Generated SDK #1873
Browse files Browse the repository at this point in the history
  • Loading branch information
fireblocks_dx_team committed Jun 17, 2024
1 parent 3ba1cd0 commit c28cf71
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/create-pr.yml
Original file line number Diff line number Diff line change
@@ -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 }}
1 change: 1 addition & 0 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24035,6 +24035,7 @@ components:
enum:
- ok
- failure
- test
type: string
errors:
description: A set of rule validation error objects
Expand Down
1 change: 1 addition & 0 deletions docs/PolicyRuleCheckResult.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ The rule validation result
|---- | -----|
| OK | "ok" |
| FAILURE | "failure" |
| TEST | "test" |



Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ public class PolicyRuleCheckResult {
public enum StatusEnum {
OK("ok"),

FAILURE("failure");
FAILURE("failure"),

TEST("test");

private String value;

Expand Down

0 comments on commit c28cf71

Please sign in to comment.