Skip to content

Commit 6794f5f

Browse files
committed
generate specifications,routes,types-schema
1 parent 2e0f6f1 commit 6794f5f

File tree

5 files changed

+84
-19
lines changed

5 files changed

+84
-19
lines changed

specification/definitions.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1257,6 +1257,9 @@
12571257
"project_name": {
12581258
"type": "string"
12591259
},
1260+
"send_email": {
1261+
"type": "boolean"
1262+
},
12601263
"type": {
12611264
"type": "string"
12621265
}
@@ -1309,10 +1312,6 @@
13091312
},
13101313
"type": "object"
13111314
},
1312-
"members": {
1313-
"description": "The number of members in this group",
1314-
"type": "integer"
1315-
},
13161315
"name": {
13171316
"type": "string"
13181317
},
@@ -1839,7 +1838,8 @@
18391838
"type": "object"
18401839
}
18411840
],
1842-
"x-bb-default-fields": ["cloudId", "id"],
1841+
"x-bb-default-fields": ["type", "cloudId", "id"],
1842+
"x-bb-detail-fields": ["key", "name", "url", "avatarUrls.*", "site"],
18431843
"x-bb-url": "/api/{target_user.uuid}/jira/sites/{cloudId}/projects/{id}?actor={user.uuid}&atlassian_account_id={user.account_id}"
18441844
},
18451845
"jira_site": {
@@ -1853,7 +1853,8 @@
18531853
"type": "object"
18541854
}
18551855
],
1856-
"x-bb-default-fields": ["cloudId", "cloudUrl", "cloudName"],
1856+
"x-bb-default-fields": ["type", "cloudId", "cloudUrl", "cloudName"],
1857+
"x-bb-detail-fields": ["connected"],
18571858
"x-bb-url": "/api/{target_user.uuid}/jira/sites/{cloudId}?actor={user.uuid}&atlassian_account_id={user.account_id}"
18581859
},
18591860
"milestone": {

specification/others.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,5 +76,5 @@
7676
}
7777
]
7878
},
79-
"x-revision": "35080379f78c"
79+
"x-revision": "0a6bd24aed98"
8080
}

specification/paths.json

Lines changed: 54 additions & 7 deletions
Large diffs are not rendered by default.

src/plugins/register-api-endpoints/routes.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2179,9 +2179,15 @@
21792179
"ignore_whitespace": {
21802180
"type": "boolean"
21812181
},
2182+
"merge": {
2183+
"type": "boolean"
2184+
},
21822185
"path": {
21832186
"type": "string"
21842187
},
2188+
"renames": {
2189+
"type": "boolean"
2190+
},
21852191
"repo_slug": {
21862192
"required": true,
21872193
"type": "string"
@@ -3118,6 +3124,15 @@
31183124
"ignore_whitespace": {
31193125
"type": "boolean"
31203126
},
3127+
"merge": {
3128+
"type": "boolean"
3129+
},
3130+
"path": {
3131+
"type": "string"
3132+
},
3133+
"renames": {
3134+
"type": "boolean"
3135+
},
31213136
"repo_slug": {
31223137
"required": true,
31233138
"type": "string"

templates/types-schema.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1106,6 +1106,9 @@
11061106
"project_name": {
11071107
"type": "string"
11081108
},
1109+
"send_email": {
1110+
"type": "boolean"
1111+
},
11091112
"type": {
11101113
"type": "string"
11111114
}
@@ -1154,9 +1157,6 @@
11541157
},
11551158
"type": "object"
11561159
},
1157-
"members": {
1158-
"type": "integer"
1159-
},
11601160
"name": {
11611161
"type": "string"
11621162
},
@@ -1646,7 +1646,8 @@
16461646
"type": "object"
16471647
}
16481648
],
1649-
"x-bb-default-fields": ["cloudId", "id"],
1649+
"x-bb-default-fields": ["type", "cloudId", "id"],
1650+
"x-bb-detail-fields": ["key", "name", "url", "avatarUrls.*", "site"],
16501651
"x-bb-url": "/api/{target_user.uuid}/jira/sites/{cloudId}/projects/{id}?actor={user.uuid}&atlassian_account_id={user.account_id}"
16511652
},
16521653
"JiraSite": {
@@ -1659,7 +1660,8 @@
16591660
"type": "object"
16601661
}
16611662
],
1662-
"x-bb-default-fields": ["cloudId", "cloudUrl", "cloudName"],
1663+
"x-bb-default-fields": ["type", "cloudId", "cloudUrl", "cloudName"],
1664+
"x-bb-detail-fields": ["connected"],
16631665
"x-bb-url": "/api/{target_user.uuid}/jira/sites/{cloudId}?actor={user.uuid}&atlassian_account_id={user.account_id}"
16641666
},
16651667
"Milestone": {

0 commit comments

Comments
 (0)