Skip to content

Commit

Permalink
plurals
Browse files Browse the repository at this point in the history
  • Loading branch information
Shivs11 committed Jan 21, 2025
1 parent dcbf3b0 commit f7216d3
Show file tree
Hide file tree
Showing 3 changed files with 152 additions and 152 deletions.
148 changes: 74 additions & 74 deletions openapi/openapiv2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1730,15 +1730,15 @@
]
}
},
"/api/v1/namespaces/{namespace}/worker-deployment/{deploymentName}/set-current-version": {
"post": {
"summary": "Set/unset the Current Version of a Worker Deployment. Automatically unsets the Ramping\nVersion if it is the Version being set as Current.",
"operationId": "SetWorkerDeploymentCurrentVersion2",
"/api/v1/namespaces/{namespace}/worker-deployments-version/{version}": {
"get": {
"summary": "Describes a worker deployment version.",
"operationId": "DescribeWorkerDeploymentVersion2",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/v1SetWorkerDeploymentCurrentVersionResponse"
"$ref": "#/definitions/v1DescribeWorkerDeploymentVersionResponse"
}
},
"default": {
Expand All @@ -1756,34 +1756,25 @@
"type": "string"
},
{
"name": "deploymentName",
"name": "version",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/WorkflowServiceSetWorkerDeploymentCurrentVersionBody"
}
}
],
"tags": [
"WorkflowService"
]
}
},
"/api/v1/namespaces/{namespace}/worker-deployment/{deploymentName}/set-ramping-version": {
"post": {
"summary": "Set/unset the Ramping Version of a Worker Deployment and its ramp percentage. Can be used for\ngradual ramp to unversioned workers too.",
"operationId": "SetWorkerDeploymentRampingVersion2",
"/api/v1/namespaces/{namespace}/worker-deployments/{deploymentName}": {
"get": {
"operationId": "DescribeWorkerDeployment2",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/v1SetWorkerDeploymentRampingVersionResponse"
"$ref": "#/definitions/v1DescribeWorkerDeploymentResponse"
}
},
"default": {
Expand All @@ -1805,30 +1796,22 @@
"in": "path",
"required": true,
"type": "string"
},
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/WorkflowServiceSetWorkerDeploymentRampingVersionBody"
}
}
],
"tags": [
"WorkflowService"
]
}
},
"/api/v1/namespaces/{namespace}/worker-deployments-version/{version}": {
"get": {
"summary": "Describes a worker deployment version.",
"operationId": "DescribeWorkerDeploymentVersion2",
"/api/v1/namespaces/{namespace}/worker-deployments/{deploymentName}/set-current-version": {
"post": {
"summary": "Set/unset the Current Version of a Worker Deployment. Automatically unsets the Ramping\nVersion if it is the Version being set as Current.",
"operationId": "SetWorkerDeploymentCurrentVersion2",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/v1DescribeWorkerDeploymentVersionResponse"
"$ref": "#/definitions/v1SetWorkerDeploymentCurrentVersionResponse"
}
},
"default": {
Expand All @@ -1846,25 +1829,34 @@
"type": "string"
},
{
"name": "version",
"name": "deploymentName",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/WorkflowServiceSetWorkerDeploymentCurrentVersionBody"
}
}
],
"tags": [
"WorkflowService"
]
}
},
"/api/v1/namespaces/{namespace}/worker-deployments/{deploymentName}": {
"get": {
"operationId": "DescribeWorkerDeployment2",
"/api/v1/namespaces/{namespace}/worker-deployments/{deploymentName}/set-ramping-version": {
"post": {
"summary": "Set/unset the Ramping Version of a Worker Deployment and its ramp percentage. Can be used for\ngradual ramp to unversioned workers too.",
"operationId": "SetWorkerDeploymentRampingVersion2",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/v1DescribeWorkerDeploymentResponse"
"$ref": "#/definitions/v1SetWorkerDeploymentRampingVersionResponse"
}
},
"default": {
Expand All @@ -1886,6 +1878,14 @@
"in": "path",
"required": true,
"type": "string"
},
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/WorkflowServiceSetWorkerDeploymentRampingVersionBody"
}
}
],
"tags": [
Expand Down Expand Up @@ -4823,15 +4823,15 @@
]
}
},
"/namespaces/{namespace}/worker-deployment/{deploymentName}/set-current-version": {
"post": {
"summary": "Set/unset the Current Version of a Worker Deployment. Automatically unsets the Ramping\nVersion if it is the Version being set as Current.",
"operationId": "SetWorkerDeploymentCurrentVersion",
"/namespaces/{namespace}/worker-deployments-version/{version}": {
"get": {
"summary": "Describes a worker deployment version.",
"operationId": "DescribeWorkerDeploymentVersion",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/v1SetWorkerDeploymentCurrentVersionResponse"
"$ref": "#/definitions/v1DescribeWorkerDeploymentVersionResponse"
}
},
"default": {
Expand All @@ -4849,34 +4849,25 @@
"type": "string"
},
{
"name": "deploymentName",
"name": "version",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/WorkflowServiceSetWorkerDeploymentCurrentVersionBody"
}
}
],
"tags": [
"WorkflowService"
]
}
},
"/namespaces/{namespace}/worker-deployment/{deploymentName}/set-ramping-version": {
"post": {
"summary": "Set/unset the Ramping Version of a Worker Deployment and its ramp percentage. Can be used for\ngradual ramp to unversioned workers too.",
"operationId": "SetWorkerDeploymentRampingVersion",
"/namespaces/{namespace}/worker-deployments/{deploymentName}": {
"get": {
"operationId": "DescribeWorkerDeployment",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/v1SetWorkerDeploymentRampingVersionResponse"
"$ref": "#/definitions/v1DescribeWorkerDeploymentResponse"
}
},
"default": {
Expand All @@ -4898,30 +4889,22 @@
"in": "path",
"required": true,
"type": "string"
},
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/WorkflowServiceSetWorkerDeploymentRampingVersionBody"
}
}
],
"tags": [
"WorkflowService"
]
}
},
"/namespaces/{namespace}/worker-deployments-version/{version}": {
"get": {
"summary": "Describes a worker deployment version.",
"operationId": "DescribeWorkerDeploymentVersion",
"/namespaces/{namespace}/worker-deployments/{deploymentName}/set-current-version": {
"post": {
"summary": "Set/unset the Current Version of a Worker Deployment. Automatically unsets the Ramping\nVersion if it is the Version being set as Current.",
"operationId": "SetWorkerDeploymentCurrentVersion",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/v1DescribeWorkerDeploymentVersionResponse"
"$ref": "#/definitions/v1SetWorkerDeploymentCurrentVersionResponse"
}
},
"default": {
Expand All @@ -4939,25 +4922,34 @@
"type": "string"
},
{
"name": "version",
"name": "deploymentName",
"in": "path",
"required": true,
"type": "string"
},
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/WorkflowServiceSetWorkerDeploymentCurrentVersionBody"
}
}
],
"tags": [
"WorkflowService"
]
}
},
"/namespaces/{namespace}/worker-deployments/{deploymentName}": {
"get": {
"operationId": "DescribeWorkerDeployment",
"/namespaces/{namespace}/worker-deployments/{deploymentName}/set-ramping-version": {
"post": {
"summary": "Set/unset the Ramping Version of a Worker Deployment and its ramp percentage. Can be used for\ngradual ramp to unversioned workers too.",
"operationId": "SetWorkerDeploymentRampingVersion",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/v1DescribeWorkerDeploymentResponse"
"$ref": "#/definitions/v1SetWorkerDeploymentRampingVersionResponse"
}
},
"default": {
Expand All @@ -4979,6 +4971,14 @@
"in": "path",
"required": true,
"type": "string"
},
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/WorkflowServiceSetWorkerDeploymentRampingVersionBody"
}
}
],
"tags": [
Expand Down
Loading

0 comments on commit f7216d3

Please sign in to comment.