mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 19:17:58 +00:00
Add new structures for OpenAPI/UI enhancements (#6931)
This commit is contained in:
@@ -543,6 +543,10 @@ type FieldSchema struct {
|
||||
|
||||
// DisplaySensitive indicates that the value should be masked by default in the UI.
|
||||
DisplaySensitive bool
|
||||
|
||||
// DisplayAttrs provides hints for UI and documentation generators. They
|
||||
// will be included in OpenAPI output if set.
|
||||
DisplayAttrs *DisplayAttributes
|
||||
}
|
||||
|
||||
// DefaultOrZero returns the default value if it is set, or otherwise
|
||||
|
||||
Reference in New Issue
Block a user