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

@@ -224,6 +224,18 @@ Class | Method | HTTP request | Description
### petstore_auth
- **Type**: OAuth
- **Flow**: implicit
- **Authorization URL**: http://petstore.swagger.io/api/oauth/dialog
- **Scopes**:
- write:pets: modify pets in your account
- read:pets: read your pets
### api_key
@@ -242,30 +254,18 @@ Class | Method | HTTP request | Description
### bearer_test
- **Type**: Bearer authentication (JWT)
### http_basic_test
- **Type**: HTTP basic authentication
### bearer_test
- **Type**: Bearer authentication (JWT)
### http_signature_test
### petstore_auth
- **Type**: OAuth
- **Flow**: implicit
- **Authorization URL**: http://petstore.swagger.io/api/oauth/dialog
- **Scopes**:
- write:pets: modify pets in your account
- read:pets: read your pets

View File

@@ -46,11 +46,11 @@ class ApiClient {
* @type {Array.<String>}
*/
this.authentications = {
'petstore_auth': {type: 'oauth2'},
'api_key': {type: 'apiKey', 'in': 'header', name: 'api_key'},
'api_key_query': {type: 'apiKey', 'in': 'query', name: 'api_key_query'},
'bearer_test': {type: 'bearer'}, // JWT
'http_basic_test': {type: 'basic'},
'petstore_auth': {type: 'oauth2'}
'bearer_test': {type: 'bearer'}, // JWT
}
/**