(context *CommandExecContext, config *config.Config, operation parser.Operation)
| 81 | } |
| 82 | |
| 83 | func (b CommandBuilder) createExecutionParameters(context *CommandExecContext, config *config.Config, operation parser.Operation) (executor.ExecutionParameters, error) { |
| 84 | parameters := []executor.ExecutionParameter{} |
| 85 | for _, param := range operation.Parameters { |
| 86 | parameter, err := b.createExecutionParameter(context, config, param) |
| 87 | if err != nil { |
| 88 | return nil, err |
| 89 | } |
| 90 | if parameter != nil { |
| 91 | parameters = append(parameters, *parameter) |
| 92 | } |
| 93 | } |
| 94 | return parameters, nil |
| 95 | } |
| 96 | |
| 97 | func (b CommandBuilder) formatAllowedValues(values []interface{}) string { |
| 98 | result := "" |
no test coverage detected