JavaScript: add auto-generated documentation in Markdown

This commit is contained in:
xhh
2016-03-16 19:42:27 +08:00
parent a019e13b23
commit 90bd843be6
24 changed files with 1994 additions and 57 deletions

View File

@@ -22,12 +22,13 @@
this.basePath = 'http://petstore.swagger.io/v2'.replace(/\/+$/, '');
this.authentications = {
'test_api_key_header': {type: 'apiKey', in: 'header', name: 'test_api_key_header'},
'api_key': {type: 'apiKey', in: 'header', name: 'api_key'},
'test_api_client_secret': {type: 'apiKey', in: 'header', name: 'x-test_api_client_secret'},
'petstore_auth': {type: 'oauth2'},
'test_api_client_id': {type: 'apiKey', in: 'header', name: 'x-test_api_client_id'},
'test_api_client_secret': {type: 'apiKey', in: 'header', name: 'x-test_api_client_secret'},
'api_key': {type: 'apiKey', in: 'header', name: 'api_key'},
'test_http_basic': {type: 'basic'},
'test_api_key_query': {type: 'apiKey', in: 'query', name: 'test_api_key_query'},
'petstore_auth': {type: 'oauth2'}
'test_api_key_header': {type: 'apiKey', in: 'header', name: 'test_api_key_header'}
};
/**