Skip to content

Commit caa4fcf

Browse files
dandavisonbergundy
authored andcommitted
Revert to include_info
1 parent 1e543f0 commit caa4fcf

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"
@@ -11288,7 +11288,7 @@
1128811288
"$ref": "#/definitions/v1ActivityExecutionInfoPauseInfo"
1128911289
}
1129011290
},
11291-
"description": "Info for a standalone activity."
11291+
"description": "Information about a standalone activity."
1129211292
},
1129311293
"v1ActivityExecutionInfoPauseInfo": {
1129411294
"type": "object",
@@ -11374,7 +11374,7 @@
1137411374
"description": "The difference between close time and scheduled time.\nThis field is only populated if the activity is closed."
1137511375
}
1137611376
},
11377-
"description": "Limited activity information returned in the list response."
11377+
"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)."
1137811378
},
1137911379
"v1ActivityExecutionStatus": {
1138011380
"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
@@ -5019,9 +5019,9 @@ paths:
50195019
description: Activity run ID. If empty the request targets the latest run.
50205020
schema:
50215021
type: string
5022-
- name: excludeInfo
5022+
- name: includeInfo
50235023
in: query
5024-
description: Exclude the info field from the response.
5024+
description: Include the info field from the response.
50255025
schema:
50265026
type: boolean
50275027
- name: includeInput
@@ -8127,7 +8127,7 @@ components:
81278127
description: Set if activity cancelation was requested.
81288128
pauseInfo:
81298129
$ref: '#/components/schemas/ActivityExecutionInfo_PauseInfo'
8130-
description: Info for a standalone activity.
8130+
description: Information about a standalone activity.
81318131
ActivityExecutionInfo_PauseInfo:
81328132
type: object
81338133
properties:
@@ -8200,7 +8200,10 @@ components:
82008200
description: |-
82018201
The difference between close time and scheduled time.
82028202
This field is only populated if the activity is closed.
8203-
description: Limited activity information returned in the list response.
8203+
description: |-
8204+
Limited activity information returned in the list response.
8205+
When adding fields here, ensure that it is also present in ActivityExecutionInfo (note that it
8206+
may already be present in ActivityExecutionInfo but not at the top-level).
82048207
ActivityFailureInfo:
82058208
type: object
82068209
properties:

temporal/api/workflowservice/v1/request_response.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2730,8 +2730,8 @@ message PollActivityExecutionRequest {
27302730
string activity_id = 2;
27312731
// Activity run ID. If empty the request targets the latest run.
27322732
string run_id = 3;
2733-
// Exclude the info field from the response.
2734-
bool exclude_info = 4;
2733+
// Include the info field from the response.
2734+
bool include_info = 4;
27352735
// Include the input field in the response.
27362736
bool include_input = 5;
27372737
// Include the outcome field in the response.

0 commit comments

Comments
 (0)