Skip to content

Commit

Permalink
Update the SDK based on the recent Flowpipe changes
Browse files Browse the repository at this point in the history
Rename GetPipelineResponse to FpPipeline
Remove ListPipelineResponseItem, use FpPipeline. 

Co-authored-by: Subhajit Mondal <[email protected]>
  • Loading branch information
kaidaguerre and Subhajit97 authored Nov 23, 2023
1 parent 2b03486 commit 3879527
Show file tree
Hide file tree
Showing 11 changed files with 355 additions and 135 deletions.
6 changes: 2 additions & 4 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,10 @@ docs/ExecutionStepExecution.md
docs/ExecutionStepExecutionOutput.md
docs/ExecutionStepExecutionStepForEach.md
docs/ExecutionStepStatus.md
docs/FpPipeline.md
docs/FpPipelineParam.md
docs/FpTrigger.md
docs/GetPipelineResponse.md
docs/ListPipelineResponse.md
docs/ListPipelineResponseItem.md
docs/ListProcessLogJSONResponse.md
docs/ListProcessResponse.md
docs/ListTriggerResponse.md
Expand Down Expand Up @@ -61,11 +60,10 @@ model_execution_step_execution.go
model_execution_step_execution_output.go
model_execution_step_execution_step_for_each.go
model_execution_step_status.go
model_fp_pipeline.go
model_fp_pipeline_param.go
model_fp_trigger.go
model_get_pipeline_response.go
model_list_pipeline_response.go
model_list_pipeline_response_item.go
model_list_process_log_json_response.go
model_list_process_response.go
model_list_trigger_response.go
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,10 @@ Class | Method | HTTP request | Description
- [ExecutionStepExecutionOutput](docs/ExecutionStepExecutionOutput.md)
- [ExecutionStepExecutionStepForEach](docs/ExecutionStepExecutionStepForEach.md)
- [ExecutionStepStatus](docs/ExecutionStepStatus.md)
- [FpPipeline](docs/FpPipeline.md)
- [FpPipelineParam](docs/FpPipelineParam.md)
- [FpTrigger](docs/FpTrigger.md)
- [GetPipelineResponse](docs/GetPipelineResponse.md)
- [ListPipelineResponse](docs/ListPipelineResponse.md)
- [ListPipelineResponseItem](docs/ListPipelineResponseItem.md)
- [ListProcessLogJSONResponse](docs/ListProcessLogJSONResponse.md)
- [ListProcessResponse](docs/ListProcessResponse.md)
- [ListTriggerResponse](docs/ListTriggerResponse.md)
Expand Down
213 changes: 125 additions & 88 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/GetPipelineResponse'
$ref: '#/components/schemas/FpPipeline'
description: OK
"400":
content:
Expand Down Expand Up @@ -865,57 +865,7 @@ components:
required:
- command
type: object
FpPipelineParam:
example:
default: "{}"
name: name
description: description
optional: true
type: type
properties:
default:
type: object
description:
type: string
name:
type: string
optional:
type: boolean
type:
type: string
type: object
FpTrigger:
example:
pipeline: pipeline
documentation: documentation
name: name
description: description
title: title
type: type
url: url
tags:
key: tags
properties:
description:
type: string
documentation:
type: string
name:
type: string
pipeline:
type: string
tags:
additionalProperties:
type: string
type: object
title:
type: string
type:
type: string
url:
type: string
type: object
GetPipelineResponse:
FpPipeline:
example:
outputs:
- depends_on:
Expand Down Expand Up @@ -983,56 +933,143 @@ components:
title:
type: string
type: object
ListPipelineResponse:
FpPipelineParam:
example:
next_token: next_token
items:
- mod: mod
documentation: documentation
name: name
description: description
title: title
tags:
key: tags
- mod: mod
documentation: documentation
name: name
description: description
title: title
tags:
key: tags
default: "{}"
name: name
description: description
optional: true
type: type
properties:
items:
items:
$ref: '#/components/schemas/ListPipelineResponseItem'
type: array
next_token:
default:
type: object
description:
type: string
name:
type: string
optional:
type: boolean
type:
type: string
type: object
ListPipelineResponseItem:
FpTrigger:
example:
mod: mod
pipeline: pipeline
documentation: documentation
name: name
description: description
title: title
type: type
url: url
tags:
key: tags
properties:
description:
type: string
documentation:
type: string
mod:
type: string
name:
type: string
pipeline:
type: string
tags:
additionalProperties:
type: string
type: object
title:
type: string
type:
type: string
url:
type: string
type: object
ListPipelineResponse:
example:
next_token: next_token
items:
- outputs:
- depends_on:
- depends_on
- depends_on
name: name
description: description
sensitive: true
value: "{}"
resolved: true
- depends_on:
- depends_on
- depends_on
name: name
description: description
sensitive: true
value: "{}"
resolved: true
mod: mod
documentation: documentation
name: name
description: description
params:
- default: "{}"
name: name
description: description
optional: true
type: type
- default: "{}"
name: name
description: description
optional: true
type: type
title: title
steps:
- "{}"
- "{}"
tags:
key: tags
- outputs:
- depends_on:
- depends_on
- depends_on
name: name
description: description
sensitive: true
value: "{}"
resolved: true
- depends_on:
- depends_on
- depends_on
name: name
description: description
sensitive: true
value: "{}"
resolved: true
mod: mod
documentation: documentation
name: name
description: description
params:
- default: "{}"
name: name
description: description
optional: true
type: type
- default: "{}"
name: name
description: description
optional: true
type: type
title: title
steps:
- "{}"
- "{}"
tags:
key: tags
properties:
items:
items:
$ref: '#/components/schemas/FpPipeline'
type: array
next_token:
type: string
type: object
ListProcessLogJSONResponse:
example:
Expand Down Expand Up @@ -1209,7 +1246,7 @@ components:
step_retry:
input:
key: ""
index: 1
count: 1
retry_completed: true
name: name
id: id
Expand All @@ -1231,7 +1268,7 @@ components:
step_retry:
input:
key: ""
index: 1
count: 1
retry_completed: true
name: name
id: id
Expand Down Expand Up @@ -1325,7 +1362,7 @@ components:
step_retry:
input:
key: ""
index: 1
count: 1
retry_completed: true
name: name
id: id
Expand All @@ -1347,7 +1384,7 @@ components:
step_retry:
input:
key: ""
index: 1
count: 1
retry_completed: true
name: name
id: id
Expand Down Expand Up @@ -1606,7 +1643,7 @@ components:
step_retry:
input:
key: ""
index: 1
count: 1
retry_completed: true
name: name
id: id
Expand Down Expand Up @@ -1680,7 +1717,7 @@ components:
step_retry:
input:
key: ""
index: 1
count: 1
retry_completed: true
name: name
id: id
Expand All @@ -1702,7 +1739,7 @@ components:
step_retry:
input:
key: ""
index: 1
count: 1
retry_completed: true
name: name
id: id
Expand Down Expand Up @@ -1879,18 +1916,18 @@ components:
example:
input:
key: ""
index: 1
count: 1
retry_completed: true
properties:
index:
count:
type: integer
input:
additionalProperties: true
type: object
retry_completed:
type: boolean
required:
- index
- count
type: object
perr.ErrorDetailModel:
example:
Expand Down
8 changes: 4 additions & 4 deletions api_pipeline.go

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

Loading

0 comments on commit 3879527

Please sign in to comment.