[Ruby] fix documentation of API authorization in README files (#15353)

align wording across generators
This commit is contained in:
Tiffany Marrel 2023-05-09 08:17:34 +02:00 committed by GitHub
parent e32da0efda
commit 2b19d5f94d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 10 additions and 5 deletions

View File

@ -128,9 +128,10 @@ Class | Method | HTTP request | Description
## Documentation for Authorization
{{^authMethods}} All endpoints do not require authorization.
{{/authMethods}}{{#authMethods}}{{#last}} Authentication schemes defined for the API:{{/last}}{{/authMethods}}
{{#authMethods}}### {{name}}
{{^authMethods}}Endpoints do not require authorization.{{/authMethods}}
{{#hasAuthMethods}}Authentication schemes defined for the API:{{/hasAuthMethods}}
{{#authMethods}}
### {{name}}
{{#isApiKey}}

View File

@ -173,6 +173,7 @@ Class | Method | HTTP request | Description
## Documentation for Authorization
Authentication schemes defined for the API:
### petstore_auth

View File

@ -173,6 +173,7 @@ Class | Method | HTTP request | Description
## Documentation for Authorization
Authentication schemes defined for the API:
### petstore_auth

View File

@ -173,6 +173,7 @@ Class | Method | HTTP request | Description
## Documentation for Authorization
Authentication schemes defined for the API:
### petstore_auth

View File

@ -100,6 +100,7 @@ Class | Method | HTTP request | Description
## Documentation for Authorization
Authentication schemes defined for the API:
### api_key

View File

@ -84,5 +84,5 @@ Class | Method | HTTP request | Description
## Documentation for Authorization
All endpoints do not require authorization.
Endpoints do not require authorization.

View File

@ -89,5 +89,5 @@ Class | Method | HTTP request | Description
## Documentation for Authorization
All endpoints do not require authorization.
Endpoints do not require authorization.