Skip to content

Commit

Permalink
Update Trigger execution API response.
Browse files Browse the repository at this point in the history
  • Loading branch information
vhadianto committed Jul 29, 2024
1 parent 18fb028 commit b21b7bf
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 96 deletions.
88 changes: 3 additions & 85 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2156,95 +2156,13 @@ components:
is_stale: true
type: type
results:
- flowpipe:
pipeline: pipeline
execution_id: execution_id
pipeline_execution_id: pipeline_execution_id
last_loaded: last_loaded
is_stale: true
type: type
status: status
results:
key: ""
errors:
- pipeline: pipeline
pipeline_execution_id: pipeline_execution_id
step_execution_id: step_execution_id
step: step
error:
instance: instance
validation_errors:
- location: location
message: message
- location: location
message: message
detail: detail
title: title
type: type
status: 0
- pipeline: pipeline
pipeline_execution_id: pipeline_execution_id
step_execution_id: step_execution_id
step: step
error:
instance: instance
validation_errors:
- location: location
message: message
- location: location
message: message
detail: detail
title: title
type: type
status: 0
- flowpipe:
pipeline: pipeline
execution_id: execution_id
pipeline_execution_id: pipeline_execution_id
last_loaded: last_loaded
is_stale: true
type: type
status: status
results:
key: ""
errors:
- pipeline: pipeline
pipeline_execution_id: pipeline_execution_id
step_execution_id: step_execution_id
step: step
error:
instance: instance
validation_errors:
- location: location
message: message
- location: location
message: message
detail: detail
title: title
type: type
status: 0
- pipeline: pipeline
pipeline_execution_id: pipeline_execution_id
step_execution_id: step_execution_id
step: step
error:
instance: instance
validation_errors:
- location: location
message: message
- location: location
message: message
detail: detail
title: title
type: type
status: 0
key: ""
properties:
flowpipe:
$ref: '#/components/schemas/FlowpipeTriggerResponseMetadata'
results:
items:
$ref: '#/components/schemas/PipelineExecutionResponse'
type: array
additionalProperties: true
type: object
type: object
execution.Execution:
example:
Expand Down
8 changes: 4 additions & 4 deletions docs/TriggerExecutionResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Flowpipe** | Pointer to [**FlowpipeTriggerResponseMetadata**](FlowpipeTriggerResponseMetadata.md) | | [optional]
**Results** | Pointer to [**[]PipelineExecutionResponse**](PipelineExecutionResponse.md) | | [optional]
**Results** | Pointer to **map[string]interface{}** | | [optional]

## Methods

Expand Down Expand Up @@ -53,20 +53,20 @@ HasFlowpipe returns a boolean if a field has been set.

### GetResults

`func (o *TriggerExecutionResponse) GetResults() []PipelineExecutionResponse`
`func (o *TriggerExecutionResponse) GetResults() map[string]interface{}`

GetResults returns the Results field if non-nil, zero value otherwise.

### GetResultsOk

`func (o *TriggerExecutionResponse) GetResultsOk() (*[]PipelineExecutionResponse, bool)`
`func (o *TriggerExecutionResponse) GetResultsOk() (*map[string]interface{}, bool)`

GetResultsOk returns a tuple with the Results field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetResults

`func (o *TriggerExecutionResponse) SetResults(v []PipelineExecutionResponse)`
`func (o *TriggerExecutionResponse) SetResults(v map[string]interface{})`

SetResults sets Results field to given value.

Expand Down
14 changes: 7 additions & 7 deletions model_trigger_execution_response.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b21b7bf

Please sign in to comment.