Small fixes for OpenAPI display attributes (#20285)

This commit is contained in:
Anton Averchenkov 2023-04-21 13:04:12 -04:00 committed by GitHub
parent 3c8c46e172
commit 3c76d90156
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 12 additions and 9 deletions

View File

@ -21,7 +21,7 @@ func pathLogin(b *backend) *framework.Path {
Pattern: "login$",
DisplayAttrs: &framework.DisplayAttributes{
OperationPrefix: operationPrefixAppRole,
OperationVerb: "log-in",
OperationVerb: "login",
},
Fields: map[string]*framework.FieldSchema{
"role_id": {

View File

@ -27,7 +27,7 @@ func (b *backend) pathConfigRotateRoot() *framework.Path {
DisplayAttrs: &framework.DisplayAttributes{
OperationPrefix: operationPrefixAWS,
OperationVerb: "rotate",
OperationSuffix: "auth-root-credentials",
OperationSuffix: "root-credentials",
},
Operations: map[logical.Operation]framework.OperationHandler{

View File

@ -57,7 +57,7 @@ func (b *backend) pathLogin() *framework.Path {
Pattern: "login$",
DisplayAttrs: &framework.DisplayAttributes{
OperationPrefix: operationPrefixAWS,
OperationVerb: "log-in",
OperationVerb: "login",
},
Fields: map[string]*framework.FieldSchema{
"role": {

View File

@ -38,7 +38,7 @@ func pathLogin(b *backend) *framework.Path {
Pattern: "login",
DisplayAttrs: &framework.DisplayAttributes{
OperationPrefix: operationPrefixCert,
OperationVerb: "log-in",
OperationVerb: "login",
},
Fields: map[string]*framework.FieldSchema{
"name": {

View File

@ -22,7 +22,7 @@ func pathLogin(b *backend) *framework.Path {
DisplayAttrs: &framework.DisplayAttributes{
OperationPrefix: operationPrefixGithub,
OperationVerb: "log-in",
OperationVerb: "login",
},
Fields: map[string]*framework.FieldSchema{

View File

@ -19,7 +19,7 @@ func pathLogin(b *backend) *framework.Path {
DisplayAttrs: &framework.DisplayAttributes{
OperationPrefix: operationPrefixLDAP,
OperationVerb: "log-in",
OperationVerb: "login",
},
Fields: map[string]*framework.FieldSchema{

View File

@ -26,7 +26,7 @@ func pathLogin(b *backend) *framework.Path {
DisplayAttrs: &framework.DisplayAttributes{
OperationPrefix: operationPrefixOkta,
OperationVerb: "log-in",
OperationVerb: "login",
},
Fields: map[string]*framework.FieldSchema{

View File

@ -26,7 +26,7 @@ func pathLogin(b *backend) *framework.Path {
DisplayAttrs: &framework.DisplayAttributes{
OperationPrefix: operationPrefixRadius,
OperationVerb: "log-in",
OperationVerb: "login",
OperationSuffix: "|with-username",
},

View File

@ -22,7 +22,7 @@ func pathLogin(b *backend) *framework.Path {
DisplayAttrs: &framework.DisplayAttributes{
OperationPrefix: operationPrefixUserpass,
OperationVerb: "log-in",
OperationVerb: "login",
},
Fields: map[string]*framework.FieldSchema{

3
changelog/20285.txt Normal file
View File

@ -0,0 +1,3 @@
```release-note:bug
openapi: Small fixes for OpenAPI display attributes. Changed "log-in" to "login"
```