[swift5] cleanup documentation (#15351)

* [swift5] fix documentation of API authorization in README files

fix hierarchy level + add internal links + align wording across generators

* [swift5] fix anchor links in documentation

---------

Co-authored-by: Tiffany Marrel <tiffany.marrel@flowable.com>
This commit is contained in:
Tiffany Marrel
2023-04-30 10:11:45 +02:00
committed by GitHub
parent ab819b9b18
commit 5f8c4ec640
19 changed files with 160 additions and 65 deletions

View File

@@ -48,11 +48,14 @@ Class | Method | HTTP request | Description
{{#models}}{{#model}} - [{{{classname}}}]({{modelDocPath}}{{{classname}}}.md)
{{/model}}{{/models}}
<a id="documentation-for-authorization"></a>
## 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}}
<a id="{{name}}"></a>
### {{name}}
{{#isApiKey}}- **Type**: API key
- **API key parameter name**: {{{keyParamName}}}

View File

@@ -106,10 +106,13 @@ Class | Method | HTTP request | Description
- [User](docs/User.md)
<a id="documentation-for-authorization"></a>
## Documentation For Authorization
## petstore_auth
Authentication schemes defined for the API:
<a id="petstore_auth"></a>
### petstore_auth
- **Type**: OAuth
- **Flow**: implicit
@@ -118,19 +121,22 @@ Class | Method | HTTP request | Description
- **write:pets**: modify pets in your account
- **read:pets**: read your pets
## api_key
<a id="api_key"></a>
### api_key
- **Type**: API key
- **API key parameter name**: api_key
- **Location**: HTTP header
## api_key_query
<a id="api_key_query"></a>
### api_key_query
- **Type**: API key
- **API key parameter name**: api_key_query
- **Location**: URL query string
## http_basic_test
<a id="http_basic_test"></a>
### http_basic_test
- **Type**: HTTP basic authentication

View File

@@ -34,9 +34,10 @@ Class | Method | HTTP request | Description
- [PrefixPetSuffix](docs/PrefixPetSuffix.md)
<a id="documentation-for-authorization"></a>
## Documentation For Authorization
All endpoints do not require authorization.
Endpoints do not require authorization.
## Author

View File

@@ -106,10 +106,13 @@ Class | Method | HTTP request | Description
- [User](docs/User.md)
<a id="documentation-for-authorization"></a>
## Documentation For Authorization
## petstore_auth
Authentication schemes defined for the API:
<a id="petstore_auth"></a>
### petstore_auth
- **Type**: OAuth
- **Flow**: implicit
@@ -118,19 +121,22 @@ Class | Method | HTTP request | Description
- **write:pets**: modify pets in your account
- **read:pets**: read your pets
## api_key
<a id="api_key"></a>
### api_key
- **Type**: API key
- **API key parameter name**: api_key
- **Location**: HTTP header
## api_key_query
<a id="api_key_query"></a>
### api_key_query
- **Type**: API key
- **API key parameter name**: api_key_query
- **Location**: URL query string
## http_basic_test
<a id="http_basic_test"></a>
### http_basic_test
- **Type**: HTTP basic authentication

View File

@@ -106,10 +106,13 @@ Class | Method | HTTP request | Description
- [User](docs/User.md)
<a id="documentation-for-authorization"></a>
## Documentation For Authorization
## petstore_auth
Authentication schemes defined for the API:
<a id="petstore_auth"></a>
### petstore_auth
- **Type**: OAuth
- **Flow**: implicit
@@ -118,19 +121,22 @@ Class | Method | HTTP request | Description
- **write:pets**: modify pets in your account
- **read:pets**: read your pets
## api_key
<a id="api_key"></a>
### api_key
- **Type**: API key
- **API key parameter name**: api_key
- **Location**: HTTP header
## api_key_query
<a id="api_key_query"></a>
### api_key_query
- **Type**: API key
- **API key parameter name**: api_key_query
- **Location**: URL query string
## http_basic_test
<a id="http_basic_test"></a>
### http_basic_test
- **Type**: HTTP basic authentication

View File

@@ -118,10 +118,13 @@ Class | Method | HTTP request | Description
- [XmlItem](docs/XmlItem.md)
<a id="documentation-for-authorization"></a>
## Documentation For Authorization
## petstore_auth
Authentication schemes defined for the API:
<a id="petstore_auth"></a>
### petstore_auth
- **Type**: OAuth
- **Flow**: implicit
@@ -130,19 +133,22 @@ Class | Method | HTTP request | Description
- **write:pets**: modify pets in your account
- **read:pets**: read your pets
## api_key
<a id="api_key"></a>
### api_key
- **Type**: API key
- **API key parameter name**: api_key
- **Location**: HTTP header
## api_key_query
<a id="api_key_query"></a>
### api_key_query
- **Type**: API key
- **API key parameter name**: api_key_query
- **Location**: URL query string
## http_basic_test
<a id="http_basic_test"></a>
### http_basic_test
- **Type**: HTTP basic authentication

View File

@@ -57,10 +57,13 @@ Class | Method | HTTP request | Description
- [User](docs/User.md)
<a id="documentation-for-authorization"></a>
## Documentation For Authorization
## petstore_auth
Authentication schemes defined for the API:
<a id="petstore_auth"></a>
### petstore_auth
- **Type**: OAuth
- **Flow**: implicit
@@ -69,13 +72,15 @@ Class | Method | HTTP request | Description
- **write:pets**: modify pets in your account
- **read:pets**: read your pets
## api_key
<a id="api_key"></a>
### api_key
- **Type**: API key
- **API key parameter name**: api_key
- **Location**: HTTP header
## auth_cookie
<a id="auth_cookie"></a>
### auth_cookie
- **Type**: API key
- **API key parameter name**: AUTH_KEY

View File

@@ -106,10 +106,13 @@ Class | Method | HTTP request | Description
- [User](docs/User.md)
<a id="documentation-for-authorization"></a>
## Documentation For Authorization
## petstore_auth
Authentication schemes defined for the API:
<a id="petstore_auth"></a>
### petstore_auth
- **Type**: OAuth
- **Flow**: implicit
@@ -118,19 +121,22 @@ Class | Method | HTTP request | Description
- **write:pets**: modify pets in your account
- **read:pets**: read your pets
## api_key
<a id="api_key"></a>
### api_key
- **Type**: API key
- **API key parameter name**: api_key
- **Location**: HTTP header
## api_key_query
<a id="api_key_query"></a>
### api_key_query
- **Type**: API key
- **API key parameter name**: api_key_query
- **Location**: URL query string
## http_basic_test
<a id="http_basic_test"></a>
### http_basic_test
- **Type**: HTTP basic authentication

View File

@@ -106,10 +106,13 @@ Class | Method | HTTP request | Description
- [User](docs/User.md)
<a id="documentation-for-authorization"></a>
## Documentation For Authorization
## petstore_auth
Authentication schemes defined for the API:
<a id="petstore_auth"></a>
### petstore_auth
- **Type**: OAuth
- **Flow**: implicit
@@ -118,19 +121,22 @@ Class | Method | HTTP request | Description
- **write:pets**: modify pets in your account
- **read:pets**: read your pets
## api_key
<a id="api_key"></a>
### api_key
- **Type**: API key
- **API key parameter name**: api_key
- **Location**: HTTP header
## api_key_query
<a id="api_key_query"></a>
### api_key_query
- **Type**: API key
- **API key parameter name**: api_key_query
- **Location**: URL query string
## http_basic_test
<a id="http_basic_test"></a>
### http_basic_test
- **Type**: HTTP basic authentication

View File

@@ -106,10 +106,13 @@ Class | Method | HTTP request | Description
- [User](docs/User.md)
<a id="documentation-for-authorization"></a>
## Documentation For Authorization
## petstore_auth
Authentication schemes defined for the API:
<a id="petstore_auth"></a>
### petstore_auth
- **Type**: OAuth
- **Flow**: implicit
@@ -118,19 +121,22 @@ Class | Method | HTTP request | Description
- **write:pets**: modify pets in your account
- **read:pets**: read your pets
## api_key
<a id="api_key"></a>
### api_key
- **Type**: API key
- **API key parameter name**: api_key
- **Location**: HTTP header
## api_key_query
<a id="api_key_query"></a>
### api_key_query
- **Type**: API key
- **API key parameter name**: api_key_query
- **Location**: URL query string
## http_basic_test
<a id="http_basic_test"></a>
### http_basic_test
- **Type**: HTTP basic authentication

View File

@@ -35,9 +35,10 @@ Class | Method | HTTP request | Description
- [Fruit](docs/Fruit.md)
<a id="documentation-for-authorization"></a>
## Documentation For Authorization
All endpoints do not require authorization.
Endpoints do not require authorization.
## Author

View File

@@ -106,10 +106,13 @@ Class | Method | HTTP request | Description
- [User](docs/User.md)
<a id="documentation-for-authorization"></a>
## Documentation For Authorization
## petstore_auth
Authentication schemes defined for the API:
<a id="petstore_auth"></a>
### petstore_auth
- **Type**: OAuth
- **Flow**: implicit
@@ -118,19 +121,22 @@ Class | Method | HTTP request | Description
- **write:pets**: modify pets in your account
- **read:pets**: read your pets
## api_key
<a id="api_key"></a>
### api_key
- **Type**: API key
- **API key parameter name**: api_key
- **Location**: HTTP header
## api_key_query
<a id="api_key_query"></a>
### api_key_query
- **Type**: API key
- **API key parameter name**: api_key_query
- **Location**: URL query string
## http_basic_test
<a id="http_basic_test"></a>
### http_basic_test
- **Type**: HTTP basic authentication

View File

@@ -106,10 +106,13 @@ Class | Method | HTTP request | Description
- [User](docs/User.md)
<a id="documentation-for-authorization"></a>
## Documentation For Authorization
## petstore_auth
Authentication schemes defined for the API:
<a id="petstore_auth"></a>
### petstore_auth
- **Type**: OAuth
- **Flow**: implicit
@@ -118,19 +121,22 @@ Class | Method | HTTP request | Description
- **write:pets**: modify pets in your account
- **read:pets**: read your pets
## api_key
<a id="api_key"></a>
### api_key
- **Type**: API key
- **API key parameter name**: api_key
- **Location**: HTTP header
## api_key_query
<a id="api_key_query"></a>
### api_key_query
- **Type**: API key
- **API key parameter name**: api_key_query
- **Location**: URL query string
## http_basic_test
<a id="http_basic_test"></a>
### http_basic_test
- **Type**: HTTP basic authentication

View File

@@ -106,10 +106,13 @@ Class | Method | HTTP request | Description
- [User](docs/User.md)
<a id="documentation-for-authorization"></a>
## Documentation For Authorization
## petstore_auth
Authentication schemes defined for the API:
<a id="petstore_auth"></a>
### petstore_auth
- **Type**: OAuth
- **Flow**: implicit
@@ -118,19 +121,22 @@ Class | Method | HTTP request | Description
- **write:pets**: modify pets in your account
- **read:pets**: read your pets
## api_key
<a id="api_key"></a>
### api_key
- **Type**: API key
- **API key parameter name**: api_key
- **Location**: HTTP header
## api_key_query
<a id="api_key_query"></a>
### api_key_query
- **Type**: API key
- **API key parameter name**: api_key_query
- **Location**: URL query string
## http_basic_test
<a id="http_basic_test"></a>
### http_basic_test
- **Type**: HTTP basic authentication

View File

@@ -106,10 +106,13 @@ Class | Method | HTTP request | Description
- [User](docs/User.md)
<a id="documentation-for-authorization"></a>
## Documentation For Authorization
## petstore_auth
Authentication schemes defined for the API:
<a id="petstore_auth"></a>
### petstore_auth
- **Type**: OAuth
- **Flow**: implicit
@@ -118,19 +121,22 @@ Class | Method | HTTP request | Description
- **write:pets**: modify pets in your account
- **read:pets**: read your pets
## api_key
<a id="api_key"></a>
### api_key
- **Type**: API key
- **API key parameter name**: api_key
- **Location**: HTTP header
## api_key_query
<a id="api_key_query"></a>
### api_key_query
- **Type**: API key
- **API key parameter name**: api_key_query
- **Location**: URL query string
## http_basic_test
<a id="http_basic_test"></a>
### http_basic_test
- **Type**: HTTP basic authentication

View File

@@ -106,10 +106,13 @@ Class | Method | HTTP request | Description
- [User](docs/User.md)
<a id="documentation-for-authorization"></a>
## Documentation For Authorization
## petstore_auth
Authentication schemes defined for the API:
<a id="petstore_auth"></a>
### petstore_auth
- **Type**: OAuth
- **Flow**: implicit
@@ -118,19 +121,22 @@ Class | Method | HTTP request | Description
- **write:pets**: modify pets in your account
- **read:pets**: read your pets
## api_key
<a id="api_key"></a>
### api_key
- **Type**: API key
- **API key parameter name**: api_key
- **Location**: HTTP header
## api_key_query
<a id="api_key_query"></a>
### api_key_query
- **Type**: API key
- **API key parameter name**: api_key_query
- **Location**: URL query string
## http_basic_test
<a id="http_basic_test"></a>
### http_basic_test
- **Type**: HTTP basic authentication

View File

@@ -33,9 +33,10 @@ Class | Method | HTTP request | Description
- [Banana](docs/Banana.md)
<a id="documentation-for-authorization"></a>
## Documentation For Authorization
All endpoints do not require authorization.
Endpoints do not require authorization.
## Author

View File

@@ -114,10 +114,13 @@ Class | Method | HTTP request | Description
- [XmlItem](docs/XmlItem.md)
<a id="documentation-for-authorization"></a>
## Documentation For Authorization
## petstore_auth
Authentication schemes defined for the API:
<a id="petstore_auth"></a>
### petstore_auth
- **Type**: OAuth
- **Flow**: implicit
@@ -126,19 +129,22 @@ Class | Method | HTTP request | Description
- **write:pets**: modify pets in your account
- **read:pets**: read your pets
## api_key
<a id="api_key"></a>
### api_key
- **Type**: API key
- **API key parameter name**: api_key
- **Location**: HTTP header
## api_key_query
<a id="api_key_query"></a>
### api_key_query
- **Type**: API key
- **API key parameter name**: api_key_query
- **Location**: URL query string
## http_basic_test
<a id="http_basic_test"></a>
### http_basic_test
- **Type**: HTTP basic authentication

View File

@@ -106,10 +106,13 @@ Class | Method | HTTP request | Description
- [User](docs/User.md)
<a id="documentation-for-authorization"></a>
## Documentation For Authorization
## petstore_auth
Authentication schemes defined for the API:
<a id="petstore_auth"></a>
### petstore_auth
- **Type**: OAuth
- **Flow**: implicit
@@ -118,19 +121,22 @@ Class | Method | HTTP request | Description
- **write:pets**: modify pets in your account
- **read:pets**: read your pets
## api_key
<a id="api_key"></a>
### api_key
- **Type**: API key
- **API key parameter name**: api_key
- **Location**: HTTP header
## api_key_query
<a id="api_key_query"></a>
### api_key_query
- **Type**: API key
- **API key parameter name**: api_key_query
- **Location**: URL query string
## http_basic_test
<a id="http_basic_test"></a>
### http_basic_test
- **Type**: HTTP basic authentication