Skip to content

Commit

Permalink
Add open api docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Quinn-With-Two-Ns committed Oct 8, 2024
1 parent 3eb54d7 commit fc8c9bf
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions openapi/openapiv2.json
Original file line number Diff line number Diff line change
Expand Up @@ -9778,9 +9778,23 @@
"type": "string",
"format": "int64",
"description": "If non zero, indicates the server has discarded the workflow task that was being responded to.\nWill be the event ID of the last workflow task started event in the history before the new workflow task.\nServer is only expected to discard a workflow task if it could not have modified the workflow state."
},
"capabilities": {
"$ref": "#/definitions/v1RespondWorkflowTaskCompletedResponseCapabilities",
"description": "All capabilities the SDK supports."
}
}
},
"v1RespondWorkflowTaskCompletedResponseCapabilities": {
"type": "object",
"properties": {
"discardSpeculativeWorkflowTaskWithCommandEvents": {
"type": "boolean",
"title": "True if the SDK can handle speculative workflow task with command events.\nIf true, the server may chosse, at its discretion, to discard a speculative workflow task\neven if that speculative task included command events the SDK had not previouly processed"
}
},
"description": "SDK capability details."
},
"v1RespondWorkflowTaskFailedResponse": {
"type": "object"
},
Expand Down

0 comments on commit fc8c9bf

Please sign in to comment.