forked from loafle/openapi-generator-original
[c] fix documentation of API authorization in README files (#15341)
align wording across generators
This commit is contained in:
parent
ba8ca1e7ac
commit
63913f2d0a
@ -80,16 +80,9 @@ Category | 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}}
|
|
||||||
{{/authMethods}}
|
|
||||||
{{#authMethods}}
|
|
||||||
|
|
||||||
### {{name}}
|
### {{name}}
|
||||||
|
|
||||||
{{#isApiKey}}- **Type**: API key
|
{{#isApiKey}}- **Type**: API key
|
||||||
|
@ -100,6 +100,7 @@ Category | Method | HTTP request | Description
|
|||||||
## Documentation for Authorization
|
## Documentation for Authorization
|
||||||
|
|
||||||
|
|
||||||
|
Authentication schemes defined for the API:
|
||||||
### petstore_auth
|
### petstore_auth
|
||||||
|
|
||||||
|
|
||||||
@ -110,7 +111,6 @@ Category | 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
|
||||||
|
|
||||||
- **Type**: API key
|
- **Type**: API key
|
||||||
|
Loading…
x
Reference in New Issue
Block a user