forked from loafle/openapi-generator-original
[JavaScript] fix documentation of API authorization in README files (#15346)
align wording across generators
This commit is contained in:
parent
be651e7776
commit
55e9f66cae
@ -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}}
|
||||||
|
@ -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}}
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user