Skip to content

Commit 22d2e09

Browse files
committed
Revert to include_info
1 parent 21023cb commit 22d2e09

File tree

3 files changed

+17
-14
lines changed

3 files changed

+17
-14
lines changed

openapi/openapiv2.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -896,8 +896,8 @@
896896
"type": "string"
897897
},
898898
{
899-
"name": "excludeInfo",
900-
"description": "Exclude the info field from the response.",
899+
"name": "includeInfo",
900+
"description": "Include the info field from the response.",
901901
"in": "query",
902902
"required": false,
903903
"type": "boolean"
@@ -5474,8 +5474,8 @@
54745474
"type": "string"
54755475
},
54765476
{
5477-
"name": "excludeInfo",
5478-
"description": "Exclude the info field from the response.",
5477+
"name": "includeInfo",
5478+
"description": "Include the info field from the response.",
54795479
"in": "query",
54805480
"required": false,
54815481
"type": "boolean"
@@ -11147,7 +11147,7 @@
1114711147
"$ref": "#/definitions/v1ActivityExecutionInfoPauseInfo"
1114811148
}
1114911149
},
11150-
"description": "Info for a standalone activity."
11150+
"description": "Information about a standalone activity."
1115111151
},
1115211152
"v1ActivityExecutionInfoPauseInfo": {
1115311153
"type": "object",
@@ -11233,7 +11233,7 @@
1123311233
"description": "The difference between close time and scheduled time.\nThis field is only populated if the activity is closed."
1123411234
}
1123511235
},
11236-
"description": "Limited activity information returned in the list response."
11236+
"description": "Limited activity information returned in the list response.\nWhen adding fields here, ensure that it is also present in ActivityExecutionInfo (note that it\nmay already be present in ActivityExecutionInfo but not at the top-level)."
1123711237
},
1123811238
"v1ActivityExecutionStatus": {
1123911239
"type": "string",

openapi/openapiv3.yaml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -849,9 +849,9 @@ paths:
849849
description: Activity run ID. If empty the request targets the latest run.
850850
schema:
851851
type: string
852-
- name: excludeInfo
852+
- name: includeInfo
853853
in: query
854-
description: Exclude the info field from the response.
854+
description: Include the info field from the response.
855855
schema:
856856
type: boolean
857857
- name: includeInput
@@ -5018,9 +5018,9 @@ paths:
50185018
description: Activity run ID. If empty the request targets the latest run.
50195019
schema:
50205020
type: string
5021-
- name: excludeInfo
5021+
- name: includeInfo
50225022
in: query
5023-
description: Exclude the info field from the response.
5023+
description: Include the info field from the response.
50245024
schema:
50255025
type: boolean
50265026
- name: includeInput
@@ -8036,7 +8036,7 @@ components:
80368036
description: Set if activity cancelation was requested.
80378037
pauseInfo:
80388038
$ref: '#/components/schemas/ActivityExecutionInfo_PauseInfo'
8039-
description: Info for a standalone activity.
8039+
description: Information about a standalone activity.
80408040
ActivityExecutionInfo_PauseInfo:
80418041
type: object
80428042
properties:
@@ -8109,7 +8109,10 @@ components:
81098109
description: |-
81108110
The difference between close time and scheduled time.
81118111
This field is only populated if the activity is closed.
8112-
description: Limited activity information returned in the list response.
8112+
description: |-
8113+
Limited activity information returned in the list response.
8114+
When adding fields here, ensure that it is also present in ActivityExecutionInfo (note that it
8115+
may already be present in ActivityExecutionInfo but not at the top-level).
81138116
ActivityFailureInfo:
81148117
type: object
81158118
properties:

temporal/api/workflowservice/v1/request_response.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2674,8 +2674,8 @@ message PollActivityExecutionRequest {
26742674
string activity_id = 2;
26752675
// Activity run ID. If empty the request targets the latest run.
26762676
string run_id = 3;
2677-
// Exclude the info field from the response.
2678-
bool exclude_info = 4;
2677+
// Include the info field from the response.
2678+
bool include_info = 4;
26792679
// Include the input field in the response.
26802680
bool include_input = 5;
26812681
// Include the outcome field in the response.

0 commit comments

Comments
 (0)