From 4c1162c54080ec251cf5fe50ca13c814c17e8025 Mon Sep 17 00:00:00 2001 From: "Daniel G. Taylor" Date: Mon, 4 Jan 2021 11:02:13 -0800 Subject: [PATCH] feat: support CLI auto-config exclude param --- autoconfig.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/autoconfig.go b/autoconfig.go index f0c7f75..f354bcb 100644 --- a/autoconfig.go +++ b/autoconfig.go @@ -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