Skip to content

Commit ee2bd59

Browse files
committed
regenerate openapi files
1 parent 1753fef commit ee2bd59

File tree

2 files changed

+155
-0
lines changed

2 files changed

+155
-0
lines changed

openapi/openapiv2.json

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2296,6 +2296,45 @@
22962296
]
22972297
}
22982298
},
2299+
"/api/v1/namespaces/{namespace}/workers/describe/{workerInstanceKey}": {
2300+
"get": {
2301+
"summary": "DescribeWorker returns information about the specified worker.",
2302+
"operationId": "DescribeWorker2",
2303+
"responses": {
2304+
"200": {
2305+
"description": "A successful response.",
2306+
"schema": {
2307+
"$ref": "#/definitions/v1DescribeWorkerResponse"
2308+
}
2309+
},
2310+
"default": {
2311+
"description": "An unexpected error response.",
2312+
"schema": {
2313+
"$ref": "#/definitions/rpcStatus"
2314+
}
2315+
}
2316+
},
2317+
"parameters": [
2318+
{
2319+
"name": "namespace",
2320+
"description": "Namespace this worker belongs to.",
2321+
"in": "path",
2322+
"required": true,
2323+
"type": "string"
2324+
},
2325+
{
2326+
"name": "workerInstanceKey",
2327+
"description": "Worker instance key to describe.",
2328+
"in": "path",
2329+
"required": true,
2330+
"type": "string"
2331+
}
2332+
],
2333+
"tags": [
2334+
"WorkflowService"
2335+
]
2336+
}
2337+
},
22992338
"/api/v1/namespaces/{namespace}/workers/fetch-config": {
23002339
"post": {
23012340
"summary": "FetchWorkerConfig returns the worker configuration for a specific worker.",
@@ -6037,6 +6076,45 @@
60376076
]
60386077
}
60396078
},
6079+
"/namespaces/{namespace}/workers/describe/{workerInstanceKey}": {
6080+
"get": {
6081+
"summary": "DescribeWorker returns information about the specified worker.",
6082+
"operationId": "DescribeWorker",
6083+
"responses": {
6084+
"200": {
6085+
"description": "A successful response.",
6086+
"schema": {
6087+
"$ref": "#/definitions/v1DescribeWorkerResponse"
6088+
}
6089+
},
6090+
"default": {
6091+
"description": "An unexpected error response.",
6092+
"schema": {
6093+
"$ref": "#/definitions/rpcStatus"
6094+
}
6095+
}
6096+
},
6097+
"parameters": [
6098+
{
6099+
"name": "namespace",
6100+
"description": "Namespace this worker belongs to.",
6101+
"in": "path",
6102+
"required": true,
6103+
"type": "string"
6104+
},
6105+
{
6106+
"name": "workerInstanceKey",
6107+
"description": "Worker instance key to describe.",
6108+
"in": "path",
6109+
"required": true,
6110+
"type": "string"
6111+
}
6112+
],
6113+
"tags": [
6114+
"WorkflowService"
6115+
]
6116+
}
6117+
},
60406118
"/namespaces/{namespace}/workers/fetch-config": {
60416119
"post": {
60426120
"summary": "FetchWorkerConfig returns the worker configuration for a specific worker.",
@@ -10875,6 +10953,14 @@
1087510953
}
1087610954
}
1087710955
},
10956+
"v1DescribeWorkerResponse": {
10957+
"type": "object",
10958+
"properties": {
10959+
"workerInfo": {
10960+
"$ref": "#/definitions/v1WorkerInfo"
10961+
}
10962+
}
10963+
},
1087810964
"v1DescribeWorkflowExecutionResponse": {
1087910965
"type": "object",
1088010966
"properties": {

openapi/openapiv3.yaml

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2087,6 +2087,38 @@ paths:
20872087
application/json:
20882088
schema:
20892089
$ref: '#/components/schemas/Status'
2090+
/api/v1/namespaces/{namespace}/workers/describe/{workerInstanceKey}:
2091+
get:
2092+
tags:
2093+
- WorkflowService
2094+
description: DescribeWorker returns information about the specified worker.
2095+
operationId: DescribeWorker
2096+
parameters:
2097+
- name: namespace
2098+
in: path
2099+
description: Namespace this worker belongs to.
2100+
required: true
2101+
schema:
2102+
type: string
2103+
- name: workerInstanceKey
2104+
in: path
2105+
description: Worker instance key to describe.
2106+
required: true
2107+
schema:
2108+
type: string
2109+
responses:
2110+
"200":
2111+
description: OK
2112+
content:
2113+
application/json:
2114+
schema:
2115+
$ref: '#/components/schemas/DescribeWorkerResponse'
2116+
default:
2117+
description: Default error response
2118+
content:
2119+
application/json:
2120+
schema:
2121+
$ref: '#/components/schemas/Status'
20902122
/api/v1/namespaces/{namespace}/workers/fetch-config:
20912123
post:
20922124
tags:
@@ -5438,6 +5470,38 @@ paths:
54385470
application/json:
54395471
schema:
54405472
$ref: '#/components/schemas/Status'
5473+
/namespaces/{namespace}/workers/describe/{workerInstanceKey}:
5474+
get:
5475+
tags:
5476+
- WorkflowService
5477+
description: DescribeWorker returns information about the specified worker.
5478+
operationId: DescribeWorker
5479+
parameters:
5480+
- name: namespace
5481+
in: path
5482+
description: Namespace this worker belongs to.
5483+
required: true
5484+
schema:
5485+
type: string
5486+
- name: workerInstanceKey
5487+
in: path
5488+
description: Worker instance key to describe.
5489+
required: true
5490+
schema:
5491+
type: string
5492+
responses:
5493+
"200":
5494+
description: OK
5495+
content:
5496+
application/json:
5497+
schema:
5498+
$ref: '#/components/schemas/DescribeWorkerResponse'
5499+
default:
5500+
description: Default error response
5501+
content:
5502+
application/json:
5503+
schema:
5504+
$ref: '#/components/schemas/Status'
54415505
/namespaces/{namespace}/workers/fetch-config:
54425506
post:
54435507
tags:
@@ -7921,6 +7985,11 @@ components:
79217985
Only set if `report_task_queue_stats` is set to true in the request.
79227986
(-- api-linter: core::0140::prepositions=disabled
79237987
aip.dev/not-precedent: "by" is used to clarify the key. --)
7988+
DescribeWorkerResponse:
7989+
type: object
7990+
properties:
7991+
workerInfo:
7992+
$ref: '#/components/schemas/WorkerInfo'
79247993
DescribeWorkflowExecutionResponse:
79257994
type: object
79267995
properties:

0 commit comments

Comments
 (0)