Skip to content

Commit 87e795c

Browse files
shikharactions-user
authored andcommitted
sync protos
GitOrigin-RevId: f31cf7f1ea0fdd68def37da9f2e1504853a33d04
1 parent c5f70c4 commit 87e795c

File tree

1 file changed

+9
-27
lines changed

1 file changed

+9
-27
lines changed

s2/v1/openapi.json

Lines changed: 9 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -480,15 +480,6 @@
480480
"summary": "Create or reconfigure a basin.",
481481
"operationId": "create_or_reconfigure_basin",
482482
"parameters": [
483-
{
484-
"name": "s2-request-token",
485-
"in": "header",
486-
"description": "Client-specified request token for idempotent retries.",
487-
"required": false,
488-
"schema": {
489-
"type": "string"
490-
}
491-
},
492483
{
493484
"name": "basin",
494485
"in": "path",
@@ -1328,15 +1319,6 @@
13281319
"schema": {
13291320
"$ref": "#/components/schemas/StreamNameStr"
13301321
}
1331-
},
1332-
{
1333-
"name": "s2-request-token",
1334-
"in": "header",
1335-
"description": "Client-specified request token for idempotent retries.",
1336-
"required": false,
1337-
"schema": {
1338-
"type": "string"
1339-
}
13401322
}
13411323
],
13421324
"requestBody": {
@@ -1634,7 +1616,7 @@
16341616
"description": "Defines the interpretation of record data (header name, header value, and body) with the JSON content type.\nUse `raw` (default) for efficient transmission and storage of Unicode data — storage will be in UTF-8.\nUse `base64` for safe transmission with efficient storage of binary data.",
16351617
"required": false,
16361618
"schema": {
1637-
"$ref": "#/components/schemas/S2Format"
1619+
"$ref": "#/components/schemas/Format"
16381620
}
16391621
},
16401622
{
@@ -1829,7 +1811,7 @@
18291811
"description": "Defines the interpretation of record data (header name, header value, and body) with the JSON content type.\nUse `raw` (default) for efficient transmission and storage of Unicode data — storage will be in UTF-8.\nUse `base64` for safe transmission with efficient storage of binary data.",
18301812
"required": false,
18311813
"schema": {
1832-
"$ref": "#/components/schemas/S2Format"
1814+
"$ref": "#/components/schemas/Format"
18331815
}
18341816
}
18351817
],
@@ -2531,6 +2513,13 @@
25312513
"type": "string",
25322514
"maxLength": 36
25332515
},
2516+
"Format": {
2517+
"type": "string",
2518+
"enum": [
2519+
"raw",
2520+
"base64"
2521+
]
2522+
},
25342523
"GaugeMetric": {
25352524
"type": "object",
25362525
"required": [
@@ -3002,13 +2991,6 @@
30022991
}
30032992
]
30042993
},
3005-
"S2Format": {
3006-
"type": "string",
3007-
"enum": [
3008-
"raw",
3009-
"base64"
3010-
]
3011-
},
30122994
"ScalarMetric": {
30132995
"type": "object",
30142996
"required": [

0 commit comments

Comments
 (0)