feat: support CLI auto-config exclude param

This commit is contained in:
Daniel G. Taylor 2021-01-04 11:02:13 -08:00
parent 7e7823796a
commit 4c1162c540
No known key found for this signature in database
GPG key ID: 8D100732CA686E06

View file

@ -7,6 +7,10 @@ type AutoConfigVar struct {
Example string `json:"example,omitempty"`
Default interface{} `json:"default,omitempty"`
Enum []interface{} `json:"enum,omitempty"`
// Exclude the value from being sent to the server. This essentially makes
// it a value which is only used in param templates.
Exclude bool `json:"exclude,omitempty"`
}
// AutoConfig holds an API's automatic configuration settings for the CLI. These