mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-20 00:17:05 +00:00
Add fixes for es6 generator (#180)
Various fixes for JS (ES6) generator
This commit is contained in:
@@ -14,7 +14,8 @@ describe('ApiClient', function() {
|
||||
expect(apiClient.authentications).to.eql({
|
||||
petstore_auth: {type: 'oauth2'},
|
||||
http_basic_test: {type: 'basic'},
|
||||
api_key: {type: 'apiKey', 'in': 'header', name: 'api_key'}
|
||||
api_key: {type: 'apiKey', 'in': 'header', name: 'api_key'},
|
||||
api_key_query: {type: 'apiKey', 'in': 'query', name: 'api_key_query'},
|
||||
/* comment out the following as these fake security def (testing purpose)
|
||||
* are removed from the spec, we'll add these back after updating the
|
||||
* petstore server
|
||||
|
||||
Reference in New Issue
Block a user