Skip to content

Commit b5fc205

Browse files
committed
feat: list child branches
1 parent c948dd8 commit b5fc205

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

doc/compiled.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3536,6 +3536,12 @@
35363536
},
35373537
"state": {
35383538
"type": "string"
3539+
},
3540+
"child_branches": {
3541+
"type": "array",
3542+
"items": {
3543+
"type": "string"
3544+
}
35393545
}
35403546
},
35413547
"example": {
@@ -3553,7 +3559,11 @@
35533559
"username": "joe.doe",
35543560
"name": "Joe Doe"
35553561
},
3556-
"state": "success"
3562+
"state": "success",
3563+
"child_branches": [
3564+
"feature_2",
3565+
"feature_3"
3566+
]
35573567
}
35583568
},
35593569
"distribution_preview": {

schemas/branch.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ branch:
2424
"$ref": "./user_preview.yaml#/user_preview"
2525
state:
2626
type: string
27+
child_branches:
28+
type: array
29+
items:
30+
type: string
2731
example:
2832
name: new-branch
2933
created_at: '2015-01-28T09:52:53Z'
@@ -38,3 +42,6 @@ branch:
3842
username: joe.doe
3943
name: Joe Doe
4044
state: success
45+
child_branches:
46+
- feature_2
47+
- feature_3

0 commit comments

Comments
 (0)