mirror of
https://github.com/Fishwaldo/huma.git
synced 2025-03-15 11:21:42 +00:00
feat: support CLI auto-config exclude param
This commit is contained in:
parent
7e7823796a
commit
4c1162c540
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue