Skip to content

Commit

Permalink
fix: Remove success in favor of explicit status enum values (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdpgrailsdev authored Apr 20, 2023
1 parent b5c94da commit 046c4e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,8 @@ definitions:
enum:
- STARTED # Stream has started executing, but no data read yet
- RUNNING # Stream has read its first byte/message
- STOPPED # Stream has stopped executing
- COMPLETE # Stream has completed executing without interruption or error
- INCOMPLETE # Stream has stopped due to an interruption or error
AirbyteStreamStatusTraceMessage:
type: object
additionalProperties: true
Expand All @@ -263,9 +264,6 @@ definitions:
status:
description: "The current status of the stream"
"$ref": "#/definitions/AirbyteStreamStatus"
success:
description: "Additional flag used with the STOPPED status to indicate success or failure"
type: boolean
AirbyteControlMessage:
type: object
additionalProperties: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,8 @@ definitions:
enum:
- STARTED # Stream has started executing, but no data read yet
- RUNNING # Stream has read its first byte/message
- STOPPED # Stream has stopped executing
- COMPLETE # Stream has completed executing without interruption or error
- INCOMPLETE # Stream has stopped due to an interruption or error
AirbyteStreamStatusTraceMessage:
type: object
additionalProperties: true
Expand All @@ -258,9 +259,6 @@ definitions:
status:
description: "The current status of the stream"
"$ref": "#/definitions/AirbyteStreamStatus"
success:
description: "Additional flag used with the STOPPED status to indicate success or failure"
type: boolean
AirbyteControlMessage:
type: object
additionalProperties: true
Expand Down

0 comments on commit 046c4e2

Please sign in to comment.