Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI - add support for multi-valued headers #2050

Closed
baywet opened this issue Dec 9, 2022 · 1 comment
Closed

CLI - add support for multi-valued headers #2050

baywet opened this issue Dec 9, 2022 · 1 comment
Assignees
Labels
CLI Work to support generating CLIs with Kiota enhancement New feature or request
Milestone

Comments

@baywet
Copy link
Member

baywet commented Dec 9, 2022

follow up of #2032 and #2045.
The CLI should make header options (documented) mutli-valued.
The CLI should also evaluate an additional option for non-documented headers

@baywet baywet added CLI Work to support generating CLIs with Kiota enhancement New feature or request labels Dec 9, 2022
@baywet baywet added this to the Kiota post-GA milestone Dec 9, 2022
@darrelmiller
Copy link
Member

For parameters that are described in the metadata we expect multi-valued parameters to be defined as an array of string and therefore multiple values can be passed to the strongly typed command line parameter we generate.

For a generic command like mgc makerequest, when we implement it, we will require the user to fold the multiple parameter values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLI Work to support generating CLIs with Kiota enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants