Skip to content

Commit

Permalink
Update pipeline command API reponse to use "results" instead of "outp…
Browse files Browse the repository at this point in the history
…ut".
  • Loading branch information
vhadianto committed Jul 29, 2024
1 parent e2b40d6 commit 18fb028
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 39 deletions.
18 changes: 9 additions & 9 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2047,8 +2047,6 @@ components:
type: object
PipelineExecutionResponse:
example:
output:
key: ""
flowpipe:
pipeline: pipeline
execution_id: execution_id
Expand All @@ -2057,6 +2055,8 @@ components:
is_stale: true
type: type
status: status
results:
key: ""
errors:
- pipeline: pipeline
pipeline_execution_id: pipeline_execution_id
Expand Down Expand Up @@ -2095,7 +2095,7 @@ components:
type: array
flowpipe:
$ref: '#/components/schemas/FlowpipeResponseMetadata'
output:
results:
additionalProperties: true
type: object
type: object
Expand Down Expand Up @@ -2156,16 +2156,16 @@ components:
is_stale: true
type: type
results:
- output:
key: ""
flowpipe:
- 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
Expand Down Expand Up @@ -2197,16 +2197,16 @@ components:
title: title
type: type
status: 0
- output:
key: ""
flowpipe:
- 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
Expand Down
26 changes: 13 additions & 13 deletions docs/PipelineExecutionResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Errors** | Pointer to [**[]ModconfigStepError**](ModconfigStepError.md) | | [optional]
**Flowpipe** | Pointer to [**FlowpipeResponseMetadata**](FlowpipeResponseMetadata.md) | | [optional]
**Output** | Pointer to **map[string]interface{}** | | [optional]
**Results** | Pointer to **map[string]interface{}** | | [optional]

## Methods

Expand Down Expand Up @@ -77,30 +77,30 @@ SetFlowpipe sets Flowpipe field to given value.

HasFlowpipe returns a boolean if a field has been set.

### GetOutput
### GetResults

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

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

### GetOutputOk
### GetResultsOk

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

GetOutputOk returns a tuple with the Output field if it's non-nil, zero value otherwise
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.

### SetOutput
### SetResults

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

SetOutput sets Output field to given value.
SetResults sets Results field to given value.

### HasOutput
### HasResults

`func (o *PipelineExecutionResponse) HasOutput() bool`
`func (o *PipelineExecutionResponse) HasResults() bool`

HasOutput returns a boolean if a field has been set.
HasResults returns a boolean if a field has been set.


[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
34 changes: 17 additions & 17 deletions model_pipeline_execution_response.go

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

0 comments on commit 18fb028

Please sign in to comment.