Preserve order of securitySchemes (#14536)

* Remove alphabetical sort

* Update integration testing expectations

* Regenerate files
This commit is contained in:
Beppe Catanese
2023-02-10 15:20:19 +01:00
committed by GitHub
parent 1b60ee1799
commit 68b944e6e6
308 changed files with 4019 additions and 4014 deletions

View File

@@ -211,13 +211,6 @@ Class | Method | HTTP request | Description
<a name="documentation-for-authorization"></a>
## Documentation for Authorization
<a name="api_key"></a>
### api_key
- **Type**: API key
- **API key parameter name**: api_key
- **Location**: HTTP header
<a name="petstore_auth"></a>
### petstore_auth
@@ -228,3 +221,10 @@ Class | Method | HTTP request | Description
- write:pets: modify pets in your account
- read:pets: read your pets
<a name="api_key"></a>
### api_key
- **Type**: API key
- **API key parameter name**: api_key
- **Location**: HTTP header

View File

@@ -15,6 +15,7 @@ class RequestFactory(private val headerFactories : List<() -> Map<String, String
companion object Authentication {
// Where a header factory requires parameters a client will need to bind these
// TODO Generate appropriate header factories based on settings
// TODO: Oauth not implemented yet - comment out below as OAuth does not exist
// Api Key auth supports query header and cookie.
// Query is supported in the path generation only with a hardcoded value.
// TODO: Not sure about cookie auth form
@@ -32,7 +33,6 @@ class RequestFactory(private val headerFactories : List<() -> Map<String, String
}
}
// TODO: Oauth not implemented yet - comment out below as OAuth does not exist
}