mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 02:57:59 +00:00
Small fixes for OpenAPI display attributes (#20285)
This commit is contained in:
committed by
GitHub
parent
5e700e3347
commit
0311096ea0
@@ -21,7 +21,7 @@ func pathLogin(b *backend) *framework.Path {
|
|||||||
Pattern: "login$",
|
Pattern: "login$",
|
||||||
DisplayAttrs: &framework.DisplayAttributes{
|
DisplayAttrs: &framework.DisplayAttributes{
|
||||||
OperationPrefix: operationPrefixAppRole,
|
OperationPrefix: operationPrefixAppRole,
|
||||||
OperationVerb: "log-in",
|
OperationVerb: "login",
|
||||||
},
|
},
|
||||||
Fields: map[string]*framework.FieldSchema{
|
Fields: map[string]*framework.FieldSchema{
|
||||||
"role_id": {
|
"role_id": {
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ func (b *backend) pathConfigRotateRoot() *framework.Path {
|
|||||||
DisplayAttrs: &framework.DisplayAttributes{
|
DisplayAttrs: &framework.DisplayAttributes{
|
||||||
OperationPrefix: operationPrefixAWS,
|
OperationPrefix: operationPrefixAWS,
|
||||||
OperationVerb: "rotate",
|
OperationVerb: "rotate",
|
||||||
OperationSuffix: "auth-root-credentials",
|
OperationSuffix: "root-credentials",
|
||||||
},
|
},
|
||||||
|
|
||||||
Operations: map[logical.Operation]framework.OperationHandler{
|
Operations: map[logical.Operation]framework.OperationHandler{
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ func (b *backend) pathLogin() *framework.Path {
|
|||||||
Pattern: "login$",
|
Pattern: "login$",
|
||||||
DisplayAttrs: &framework.DisplayAttributes{
|
DisplayAttrs: &framework.DisplayAttributes{
|
||||||
OperationPrefix: operationPrefixAWS,
|
OperationPrefix: operationPrefixAWS,
|
||||||
OperationVerb: "log-in",
|
OperationVerb: "login",
|
||||||
},
|
},
|
||||||
Fields: map[string]*framework.FieldSchema{
|
Fields: map[string]*framework.FieldSchema{
|
||||||
"role": {
|
"role": {
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ func pathLogin(b *backend) *framework.Path {
|
|||||||
Pattern: "login",
|
Pattern: "login",
|
||||||
DisplayAttrs: &framework.DisplayAttributes{
|
DisplayAttrs: &framework.DisplayAttributes{
|
||||||
OperationPrefix: operationPrefixCert,
|
OperationPrefix: operationPrefixCert,
|
||||||
OperationVerb: "log-in",
|
OperationVerb: "login",
|
||||||
},
|
},
|
||||||
Fields: map[string]*framework.FieldSchema{
|
Fields: map[string]*framework.FieldSchema{
|
||||||
"name": {
|
"name": {
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ func pathLogin(b *backend) *framework.Path {
|
|||||||
|
|
||||||
DisplayAttrs: &framework.DisplayAttributes{
|
DisplayAttrs: &framework.DisplayAttributes{
|
||||||
OperationPrefix: operationPrefixGithub,
|
OperationPrefix: operationPrefixGithub,
|
||||||
OperationVerb: "log-in",
|
OperationVerb: "login",
|
||||||
},
|
},
|
||||||
|
|
||||||
Fields: map[string]*framework.FieldSchema{
|
Fields: map[string]*framework.FieldSchema{
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ func pathLogin(b *backend) *framework.Path {
|
|||||||
|
|
||||||
DisplayAttrs: &framework.DisplayAttributes{
|
DisplayAttrs: &framework.DisplayAttributes{
|
||||||
OperationPrefix: operationPrefixLDAP,
|
OperationPrefix: operationPrefixLDAP,
|
||||||
OperationVerb: "log-in",
|
OperationVerb: "login",
|
||||||
},
|
},
|
||||||
|
|
||||||
Fields: map[string]*framework.FieldSchema{
|
Fields: map[string]*framework.FieldSchema{
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ func pathLogin(b *backend) *framework.Path {
|
|||||||
|
|
||||||
DisplayAttrs: &framework.DisplayAttributes{
|
DisplayAttrs: &framework.DisplayAttributes{
|
||||||
OperationPrefix: operationPrefixOkta,
|
OperationPrefix: operationPrefixOkta,
|
||||||
OperationVerb: "log-in",
|
OperationVerb: "login",
|
||||||
},
|
},
|
||||||
|
|
||||||
Fields: map[string]*framework.FieldSchema{
|
Fields: map[string]*framework.FieldSchema{
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ func pathLogin(b *backend) *framework.Path {
|
|||||||
|
|
||||||
DisplayAttrs: &framework.DisplayAttributes{
|
DisplayAttrs: &framework.DisplayAttributes{
|
||||||
OperationPrefix: operationPrefixRadius,
|
OperationPrefix: operationPrefixRadius,
|
||||||
OperationVerb: "log-in",
|
OperationVerb: "login",
|
||||||
OperationSuffix: "|with-username",
|
OperationSuffix: "|with-username",
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ func pathLogin(b *backend) *framework.Path {
|
|||||||
|
|
||||||
DisplayAttrs: &framework.DisplayAttributes{
|
DisplayAttrs: &framework.DisplayAttributes{
|
||||||
OperationPrefix: operationPrefixUserpass,
|
OperationPrefix: operationPrefixUserpass,
|
||||||
OperationVerb: "log-in",
|
OperationVerb: "login",
|
||||||
},
|
},
|
||||||
|
|
||||||
Fields: map[string]*framework.FieldSchema{
|
Fields: map[string]*framework.FieldSchema{
|
||||||
|
|||||||
3
changelog/20285.txt
Normal file
3
changelog/20285.txt
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
```release-note:bug
|
||||||
|
openapi: Small fixes for OpenAPI display attributes. Changed "log-in" to "login"
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user