mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 19:17:58 +00:00
openapi: Add display attributes for RabbitMQ plugin (#19540)
This commit is contained in:
committed by
GitHub
parent
1a2c60dae5
commit
388948e858
@@ -21,6 +21,13 @@ const (
|
||||
func pathCreds(b *backend) *framework.Path {
|
||||
return &framework.Path{
|
||||
Pattern: "creds/" + framework.GenericNameRegex("name"),
|
||||
|
||||
DisplayAttrs: &framework.DisplayAttributes{
|
||||
OperationPrefix: operationPrefixRabbitMQ,
|
||||
OperationVerb: "request",
|
||||
OperationSuffix: "credentials",
|
||||
},
|
||||
|
||||
Fields: map[string]*framework.FieldSchema{
|
||||
"name": {
|
||||
Type: framework.TypeString,
|
||||
|
||||
Reference in New Issue
Block a user