forked from loafle/openapi-generator-original
Preserve order of securitySchemes (#14536)
* Remove alphabetical sort * Update integration testing expectations * Regenerate files
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user