[perl] fix documentation of API authorization in README files (#15356)

align wording across generators
This commit is contained in:
Tiffany Marrel 2023-05-09 08:26:30 +02:00 committed by GitHub
parent 9cb14aeb8c
commit 1443dd9493
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -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}}}

View File

@ -480,6 +480,7 @@ Class | Method | HTTP request | Description
# DOCUMENTATION FOR AUTHORIZATION
Authentication schemes defined for the API:
## petstore_auth
- **Type**: OAuth