Skip to content

Commit 941af0a

Browse files
committed
refactor: 🔨
1 parent 58ae45f commit 941af0a

1 file changed

Lines changed: 13 additions & 32 deletions

File tree

openapi.yaml

Lines changed: 13 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -7139,7 +7139,7 @@ paths:
71397139
content:
71407140
application/json:
71417141
schema:
7142-
$ref: '#/components/schemas/RpcStatus'
7142+
$ref: '#/components/schemas/ErrorData'
71437143
parameters:
71447144
- name: status
71457145
in: query
@@ -7184,7 +7184,7 @@ paths:
71847184
content:
71857185
application/json:
71867186
schema:
7187-
$ref: '#/components/schemas/RpcStatus'
7187+
$ref: '#/components/schemas/ErrorData'
71887188
/rl/training-sessions/{session_id}:
71897189
get:
71907190
summary: Get training session
@@ -7203,7 +7203,7 @@ paths:
72037203
content:
72047204
application/json:
72057205
schema:
7206-
$ref: '#/components/schemas/RpcStatus'
7206+
$ref: '#/components/schemas/ErrorData'
72077207
parameters:
72087208
- name: session_id
72097209
in: path
@@ -7229,7 +7229,7 @@ paths:
72297229
content:
72307230
application/json:
72317231
schema:
7232-
$ref: '#/components/schemas/RpcStatus'
7232+
$ref: '#/components/schemas/ErrorData'
72337233
parameters:
72347234
- name: session_id
72357235
in: path
@@ -7255,7 +7255,7 @@ paths:
72557255
content:
72567256
application/json:
72577257
schema:
7258-
$ref: '#/components/schemas/RpcStatus'
7258+
$ref: '#/components/schemas/ErrorData'
72597259
parameters:
72607260
- name: session_id
72617261
in: path
@@ -7287,7 +7287,7 @@ paths:
72877287
content:
72887288
application/json:
72897289
schema:
7290-
$ref: '#/components/schemas/RpcStatus'
7290+
$ref: '#/components/schemas/ErrorData'
72917291
parameters:
72927292
- name: session_id
72937293
in: path
@@ -7319,7 +7319,7 @@ paths:
73197319
content:
73207320
application/json:
73217321
schema:
7322-
$ref: '#/components/schemas/RpcStatus'
7322+
$ref: '#/components/schemas/ErrorData'
73237323
parameters:
73247324
- name: session_id
73257325
in: path
@@ -7357,7 +7357,7 @@ paths:
73577357
content:
73587358
application/json:
73597359
schema:
7360-
$ref: '#/components/schemas/RpcStatus'
7360+
$ref: '#/components/schemas/ErrorData'
73617361
parameters:
73627362
- name: session_id
73637363
in: path
@@ -7389,7 +7389,7 @@ paths:
73897389
content:
73907390
application/json:
73917391
schema:
7392-
$ref: '#/components/schemas/RpcStatus'
7392+
$ref: '#/components/schemas/ErrorData'
73937393
parameters:
73947394
- name: session_id
73957395
in: path
@@ -7421,7 +7421,7 @@ paths:
74217421
content:
74227422
application/json:
74237423
schema:
7424-
$ref: '#/components/schemas/RpcStatus'
7424+
$ref: '#/components/schemas/ErrorData'
74257425
parameters:
74267426
- name: session_id
74277427
in: path
@@ -7447,7 +7447,7 @@ paths:
74477447
content:
74487448
application/json:
74497449
schema:
7450-
$ref: '#/components/schemas/RpcStatus'
7450+
$ref: '#/components/schemas/ErrorData'
74517451
parameters:
74527452
- name: session_id
74537453
in: path
@@ -7473,7 +7473,7 @@ paths:
74737473
content:
74747474
application/json:
74757475
schema:
7476-
$ref: '#/components/schemas/RpcStatus'
7476+
$ref: '#/components/schemas/ErrorData'
74777477
parameters:
74787478
- name: session_id
74797479
in: path
@@ -7505,7 +7505,7 @@ paths:
75057505
content:
75067506
application/json:
75077507
schema:
7508-
$ref: '#/components/schemas/RpcStatus'
7508+
$ref: '#/components/schemas/ErrorData'
75097509
parameters:
75107510
- name: id
75117511
in: path
@@ -8187,25 +8187,6 @@ components:
81878187
type: integer
81888188
message:
81898189
type: string
8190-
ProtobufAny:
8191-
type: object
8192-
properties:
8193-
'@type':
8194-
type: string
8195-
additionalProperties: {}
8196-
RpcStatus:
8197-
type: object
8198-
properties:
8199-
code:
8200-
type: integer
8201-
format: int32
8202-
message:
8203-
type: string
8204-
details:
8205-
type: array
8206-
items:
8207-
type: object
8208-
$ref: '#/components/schemas/ProtobufAny'
82098190
GPUClusterControlPlaneNode:
82108191
type: object
82118192
required:

0 commit comments

Comments
 (0)