Skip to content

Commit 7d9cef8

Browse files
fix(openapi): sync with openapi definition
1 parent e8de96d commit 7d9cef8

File tree

2 files changed

+181
-2
lines changed

2 files changed

+181
-2
lines changed

openapi.json

Lines changed: 119 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10962,6 +10962,15 @@
1096210962
"type": "string"
1096310963
}
1096410964
},
10965+
{
10966+
"name": "workspace",
10967+
"in": "query",
10968+
"required": false,
10969+
"description": "A repository workspace to filter full-scans by.",
10970+
"schema": {
10971+
"type": "string"
10972+
}
10973+
},
1096510974
{
1096610975
"name": "repo",
1096710976
"in": "query",
@@ -11107,6 +11116,11 @@
1110711116
"default": "",
1110811117
"nullable": true
1110911118
},
11119+
"workspace": {
11120+
"type": "string",
11121+
"description": "",
11122+
"default": ""
11123+
},
1111011124
"repo": {
1111111125
"type": "string",
1111211126
"description": "",
@@ -11229,6 +11243,15 @@
1122911243
"type": "string"
1123011244
}
1123111245
},
11246+
{
11247+
"name": "workspace",
11248+
"in": "query",
11249+
"required": false,
11250+
"description": "The workspace of the repository to associate the full-scan with.",
11251+
"schema": {
11252+
"type": "string"
11253+
}
11254+
},
1123211255
{
1123311256
"name": "branch",
1123411257
"in": "query",
@@ -11463,6 +11486,11 @@
1146311486
"default": "",
1146411487
"nullable": true
1146511488
},
11489+
"workspace": {
11490+
"type": "string",
11491+
"description": "",
11492+
"default": ""
11493+
},
1146611494
"repo": {
1146711495
"type": "string",
1146811496
"description": "",
@@ -11862,6 +11890,11 @@
1186211890
"default": "",
1186311891
"nullable": true
1186411892
},
11893+
"workspace": {
11894+
"type": "string",
11895+
"description": "",
11896+
"default": ""
11897+
},
1186511898
"repo": {
1186611899
"type": "string",
1186711900
"description": "",
@@ -14181,6 +14214,15 @@
1418114214
"type": "boolean",
1418214215
"default": false
1418314216
}
14217+
},
14218+
{
14219+
"name": "workspace",
14220+
"in": "query",
14221+
"required": false,
14222+
"description": "The workspace of the repository.",
14223+
"schema": {
14224+
"type": "string"
14225+
}
1418414226
}
1418514227
],
1418614228
"requestBody": {
@@ -15445,6 +15487,11 @@
1544515487
"description": "The default branch of the repository",
1544615488
"default": "main",
1544715489
"nullable": true
15490+
},
15491+
"workspace": {
15492+
"type": "string",
15493+
"description": "The workspace of the repository",
15494+
"default": ""
1544815495
}
1544915496
},
1545015497
"description": ""
@@ -15545,6 +15592,11 @@
1554515592
"description": "The default branch of the repository",
1554615593
"default": "main",
1554715594
"nullable": true
15595+
},
15596+
"workspace": {
15597+
"type": "string",
15598+
"description": "The workspace of the repository",
15599+
"default": ""
1554815600
}
1554915601
},
1555015602
"description": ""
@@ -15688,6 +15740,11 @@
1568815740
"description": "The default branch of the repository",
1568915741
"default": "main",
1569015742
"nullable": true
15743+
},
15744+
"workspace": {
15745+
"type": "string",
15746+
"description": "The workspace of the repository",
15747+
"default": ""
1569115748
}
1569215749
},
1569315750
"description": ""
@@ -15740,6 +15797,15 @@
1574015797
"schema": {
1574115798
"type": "string"
1574215799
}
15800+
},
15801+
{
15802+
"name": "workspace",
15803+
"in": "query",
15804+
"required": false,
15805+
"description": "The workspace of the repository",
15806+
"schema": {
15807+
"type": "string"
15808+
}
1574315809
}
1574415810
],
1574515811
"security": [
@@ -15879,6 +15945,11 @@
1587915945
"default": "main",
1588015946
"nullable": true
1588115947
},
15948+
"workspace": {
15949+
"type": "string",
15950+
"description": "The workspace of the repository",
15951+
"default": ""
15952+
},
1588215953
"slig": {
1588315954
"type": "string",
1588415955
"description": "The slug of the repository. This typo is intentionally preserved for backwards compatibility reasons.",
@@ -15898,7 +15969,8 @@
1589815969
"slig",
1589915970
"slug",
1590015971
"updated_at",
15901-
"visibility"
15972+
"visibility",
15973+
"workspace"
1590215974
]
1590315975
}
1590415976
}
@@ -15947,6 +16019,15 @@
1594716019
"schema": {
1594816020
"type": "string"
1594916021
}
16022+
},
16023+
{
16024+
"name": "workspace",
16025+
"in": "query",
16026+
"required": false,
16027+
"description": "The workspace of the repository",
16028+
"schema": {
16029+
"type": "string"
16030+
}
1595016031
}
1595116032
],
1595216033
"requestBody": {
@@ -15992,6 +16073,11 @@
1599216073
"description": "The default branch of the repository",
1599316074
"default": "main",
1599416075
"nullable": true
16076+
},
16077+
"workspace": {
16078+
"type": "string",
16079+
"description": "The workspace of the repository",
16080+
"default": ""
1599516081
}
1599616082
},
1599716083
"description": ""
@@ -16135,6 +16221,11 @@
1613516221
"description": "The default branch of the repository",
1613616222
"default": "main",
1613716223
"nullable": true
16224+
},
16225+
"workspace": {
16226+
"type": "string",
16227+
"description": "The workspace of the repository",
16228+
"default": ""
1613816229
}
1613916230
},
1614016231
"description": ""
@@ -16185,6 +16276,15 @@
1618516276
"schema": {
1618616277
"type": "string"
1618716278
}
16279+
},
16280+
{
16281+
"name": "workspace",
16282+
"in": "query",
16283+
"required": false,
16284+
"description": "The workspace of the repository",
16285+
"schema": {
16286+
"type": "string"
16287+
}
1618816288
}
1618916289
],
1619016290
"security": [
@@ -36469,6 +36569,17 @@
3646936569
"summary": "Create a report",
3647036570
"deprecated": true,
3647136571
"operationId": "createReport",
36572+
"parameters": [
36573+
{
36574+
"name": "workspace",
36575+
"in": "query",
36576+
"required": false,
36577+
"description": "The workspace of the repository to associate the full-scan with.",
36578+
"schema": {
36579+
"type": "string"
36580+
}
36581+
}
36582+
],
3647236583
"requestBody": {
3647336584
"content": {
3647436585
"multipart/form-data": {
@@ -36713,6 +36824,11 @@
3671336824
"default": "",
3671436825
"nullable": true
3671536826
},
36827+
"workspace": {
36828+
"type": "string",
36829+
"description": "",
36830+
"default": ""
36831+
},
3671636832
"latest_project_report": {
3671736833
"type": "object",
3671836834
"additionalProperties": false,
@@ -36743,7 +36859,8 @@
3674336859
"id",
3674436860
"name",
3674536861
"organization_id",
36746-
"updated_at"
36862+
"updated_at",
36863+
"workspace"
3674736864
]
3674836865
},
3674936866
"description": ""

0 commit comments

Comments
 (0)