forked from loafle/openapi-generator-original
[perl] fix documentation of API authorization in README files (#15356)
align wording across generators
This commit is contained in:
parent
9cb14aeb8c
commit
1443dd9493
@ -312,9 +312,10 @@ Class | Method | HTTP request | Description
|
||||
{{/model}}{{/models}}
|
||||
|
||||
# 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}}- **Type**: API key
|
||||
- **API key parameter name**: {{{keyParamName}}}
|
||||
|
@ -480,6 +480,7 @@ Class | Method | HTTP request | Description
|
||||
|
||||
# DOCUMENTATION FOR AUTHORIZATION
|
||||
|
||||
Authentication schemes defined for the API:
|
||||
## petstore_auth
|
||||
|
||||
- **Type**: OAuth
|
||||
|
Loading…
x
Reference in New Issue
Block a user