Add fixes for es6 generator (#180)

Various fixes for JS (ES6) generator
This commit is contained in:
delenius
2018-06-16 10:59:23 -07:00
committed by William Cheng
parent 53d9878cf2
commit c607ea8b31
194 changed files with 8532 additions and 5008 deletions

View File

@@ -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