danielgtaylor / danielgtaylor/openapi-cli-generator

Support Array Parameters

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
feature help-wanted
Dominant language
Go
Stars
218
Forks
54
PR merge metrics
No merged PRs in 30d

Description

Currently anything that isn't a basic type is just treated as a string. It would be good to support arrays via [`StringSlice(...)`](https://godoc.org/github.com/spf13/pflag#StringSlice) parameters and then have them encoded correctly via #5.

Alternatively, the shorthand could be updated to support top level arrays and scalars and then be used for any complex parameter type.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.