Skip to content

Commit

Permalink
fix: stepforeach_each (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
graza-io authored Nov 7, 2023
1 parent e5ef530 commit 1f6b14f
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 29 deletions.
4 changes: 1 addition & 3 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1686,8 +1686,6 @@ components:
$ref: '#/components/schemas/execution.StepExecution'
type: array
type: object
json.SimpleJSONValue:
type: object
modconfig.Input:
type: object
modconfig.NextStepAction:
Expand Down Expand Up @@ -1771,7 +1769,7 @@ components:
modconfig.StepForEach:
properties:
each:
type: object
type: string
key:
type: string
output:
Expand Down
8 changes: 4 additions & 4 deletions docs/ExecutionStepExecutionStepForEach.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Each** | Pointer to **map[string]interface{}** | | [optional]
**Each** | Pointer to **string** | | [optional]
**Key** | **string** | |
**Output** | Pointer to [**ModconfigOutput**](ModconfigOutput.md) | | [optional]
**TotalCount** | **int32** | |
Expand All @@ -30,20 +30,20 @@ but it doesn't guarantee that properties required by API are set

### GetEach

`func (o *ExecutionStepExecutionStepForEach) GetEach() map[string]interface{}`
`func (o *ExecutionStepExecutionStepForEach) GetEach() string`

GetEach returns the Each field if non-nil, zero value otherwise.

### GetEachOk

`func (o *ExecutionStepExecutionStepForEach) GetEachOk() (*map[string]interface{}, bool)`
`func (o *ExecutionStepExecutionStepForEach) GetEachOk() (*string, bool)`

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

### SetEach

`func (o *ExecutionStepExecutionStepForEach) SetEach(v map[string]interface{})`
`func (o *ExecutionStepExecutionStepForEach) SetEach(v string)`

SetEach sets Each field to given value.

Expand Down
8 changes: 4 additions & 4 deletions docs/ModconfigStepForEach.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Each** | Pointer to **map[string]interface{}** | | [optional]
**Each** | Pointer to **string** | | [optional]
**Key** | **string** | |
**Output** | Pointer to [**ModconfigOutput**](ModconfigOutput.md) | | [optional]
**TotalCount** | **int32** | |
Expand All @@ -30,20 +30,20 @@ but it doesn't guarantee that properties required by API are set

### GetEach

`func (o *ModconfigStepForEach) GetEach() map[string]interface{}`
`func (o *ModconfigStepForEach) GetEach() string`

GetEach returns the Each field if non-nil, zero value otherwise.

### GetEachOk

`func (o *ModconfigStepForEach) GetEachOk() (*map[string]interface{}, bool)`
`func (o *ModconfigStepForEach) GetEachOk() (*string, bool)`

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

### SetEach

`func (o *ModconfigStepForEach) SetEach(v map[string]interface{})`
`func (o *ModconfigStepForEach) SetEach(v string)`

SetEach sets Each field to given value.

Expand Down
18 changes: 9 additions & 9 deletions model_execution_step_execution_step_for_each.go

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

18 changes: 9 additions & 9 deletions model_modconfig_step_for_each.go

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

0 comments on commit 1f6b14f

Please sign in to comment.