forked from loafle/openapi-generator-original
[Ruby] fix documentation of API authorization in README files (#15353)
align wording across generators
This commit is contained in:
parent
e32da0efda
commit
2b19d5f94d
@ -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}}
|
||||
|
||||
|
@ -173,6 +173,7 @@ Class | Method | HTTP request | Description
|
||||
## Documentation for Authorization
|
||||
|
||||
|
||||
Authentication schemes defined for the API:
|
||||
### petstore_auth
|
||||
|
||||
|
||||
|
@ -173,6 +173,7 @@ Class | Method | HTTP request | Description
|
||||
## Documentation for Authorization
|
||||
|
||||
|
||||
Authentication schemes defined for the API:
|
||||
### petstore_auth
|
||||
|
||||
|
||||
|
@ -173,6 +173,7 @@ Class | Method | HTTP request | Description
|
||||
## Documentation for Authorization
|
||||
|
||||
|
||||
Authentication schemes defined for the API:
|
||||
### petstore_auth
|
||||
|
||||
|
||||
|
@ -100,6 +100,7 @@ Class | Method | HTTP request | Description
|
||||
## Documentation for Authorization
|
||||
|
||||
|
||||
Authentication schemes defined for the API:
|
||||
### api_key
|
||||
|
||||
|
||||
|
@ -84,5 +84,5 @@ Class | Method | HTTP request | Description
|
||||
|
||||
## Documentation for Authorization
|
||||
|
||||
All endpoints do not require authorization.
|
||||
Endpoints do not require authorization.
|
||||
|
||||
|
@ -89,5 +89,5 @@ Class | Method | HTTP request | Description
|
||||
|
||||
## Documentation for Authorization
|
||||
|
||||
All endpoints do not require authorization.
|
||||
Endpoints do not require authorization.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user