[JavaScript] fix documentation of API authorization in README files (#15346)

align wording across generators
This commit is contained in:
Tiffany Marrel 2023-05-09 08:22:41 +02:00 committed by GitHub
parent be651e7776
commit 55e9f66cae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 43 deletions

View File

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

View File

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

View File

@ -223,7 +223,7 @@ Class | Method | HTTP request | Description
## Documentation for Authorization ## Documentation for Authorization
Authentication schemes defined for the API:
### petstore_auth ### petstore_auth
@ -234,8 +234,6 @@ Class | Method | HTTP request | Description
- write:pets: modify pets in your account - write:pets: modify pets in your account
- read:pets: read your pets - read:pets: read your pets
### api_key ### api_key
@ -243,8 +241,6 @@ Class | Method | HTTP request | Description
- **API key parameter name**: api_key - **API key parameter name**: api_key
- **Location**: HTTP header - **Location**: HTTP header
### api_key_query ### api_key_query
@ -252,20 +248,14 @@ Class | Method | HTTP request | Description
- **API key parameter name**: api_key_query - **API key parameter name**: api_key_query
- **Location**: URL query string - **Location**: URL query string
### http_basic_test ### http_basic_test
- **Type**: HTTP basic authentication - **Type**: HTTP basic authentication
### bearer_test ### bearer_test
- **Type**: Bearer authentication (JWT) - **Type**: Bearer authentication (JWT)
### http_signature_test ### http_signature_test

View File

@ -223,7 +223,7 @@ Class | Method | HTTP request | Description
## Documentation for Authorization ## Documentation for Authorization
Authentication schemes defined for the API:
### petstore_auth ### petstore_auth
@ -234,8 +234,6 @@ Class | Method | HTTP request | Description
- write:pets: modify pets in your account - write:pets: modify pets in your account
- read:pets: read your pets - read:pets: read your pets
### api_key ### api_key
@ -243,8 +241,6 @@ Class | Method | HTTP request | Description
- **API key parameter name**: api_key - **API key parameter name**: api_key
- **Location**: HTTP header - **Location**: HTTP header
### api_key_query ### api_key_query
@ -252,20 +248,14 @@ Class | Method | HTTP request | Description
- **API key parameter name**: api_key_query - **API key parameter name**: api_key_query
- **Location**: URL query string - **Location**: URL query string
### http_basic_test ### http_basic_test
- **Type**: HTTP basic authentication - **Type**: HTTP basic authentication
### bearer_test ### bearer_test
- **Type**: Bearer authentication (JWT) - **Type**: Bearer authentication (JWT)
### http_signature_test ### http_signature_test

View File

@ -221,7 +221,7 @@ Class | Method | HTTP request | Description
## Documentation for Authorization ## Documentation for Authorization
Authentication schemes defined for the API:
### petstore_auth ### petstore_auth
@ -232,8 +232,6 @@ Class | Method | HTTP request | Description
- write:pets: modify pets in your account - write:pets: modify pets in your account
- read:pets: read your pets - read:pets: read your pets
### api_key ### api_key
@ -241,8 +239,6 @@ Class | Method | HTTP request | Description
- **API key parameter name**: api_key - **API key parameter name**: api_key
- **Location**: HTTP header - **Location**: HTTP header
### api_key_query ### api_key_query
@ -250,20 +246,14 @@ Class | Method | HTTP request | Description
- **API key parameter name**: api_key_query - **API key parameter name**: api_key_query
- **Location**: URL query string - **Location**: URL query string
### http_basic_test ### http_basic_test
- **Type**: HTTP basic authentication - **Type**: HTTP basic authentication
### bearer_test ### bearer_test
- **Type**: Bearer authentication (JWT) - **Type**: Bearer authentication (JWT)
### http_signature_test ### http_signature_test