danielgtaylor / openapi-cli-generator

Generate a CLI from an OpenAPI 3 specification
MIT License
181 stars 49 forks source link

Support Array Parameters #10

Open danielgtaylor opened 6 years ago

danielgtaylor commented 6 years ago

Currently anything that isn't a basic type is just treated as a string. It would be good to support arrays via 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.