forked from loafle/openapi-generator-original
@@ -6,7 +6,7 @@ This SDK is automatically generated by the [Swagger Codegen](https://github.com/
|
||||
|
||||
- API version: 1.0.0
|
||||
- Package version: 1.0.0
|
||||
- Build date: 2016-06-29T21:42:46.755+08:00
|
||||
- Build date: 2016-06-29T13:53:04.955-07:00
|
||||
- Build package: class io.swagger.codegen.languages.JavascriptClientCodegen
|
||||
|
||||
## Installation
|
||||
@@ -131,12 +131,6 @@ Class | Method | HTTP request | Description
|
||||
## Documentation for Authorization
|
||||
|
||||
|
||||
### api_key
|
||||
|
||||
- **Type**: API key
|
||||
- **API key parameter name**: api_key
|
||||
- **Location**: HTTP header
|
||||
|
||||
### petstore_auth
|
||||
|
||||
- **Type**: OAuth
|
||||
@@ -146,3 +140,9 @@ Class | Method | HTTP request | Description
|
||||
- write:pets: modify pets in your account
|
||||
- read:pets: read your pets
|
||||
|
||||
### api_key
|
||||
|
||||
- **Type**: API key
|
||||
- **API key parameter name**: api_key
|
||||
- **Location**: HTTP header
|
||||
|
||||
|
||||
@@ -64,8 +64,8 @@
|
||||
* @type {Array.<String>}
|
||||
*/
|
||||
this.authentications = {
|
||||
'api_key': {type: 'apiKey', 'in': 'header', name: 'api_key'},
|
||||
'petstore_auth': {type: 'oauth2'}
|
||||
'petstore_auth': {type: 'oauth2'},
|
||||
'api_key': {type: 'apiKey', 'in': 'header', name: 'api_key'}
|
||||
};
|
||||
/**
|
||||
* The default HTTP headers to be included for all API calls.
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
* Constructs a new <code>Animal</code>.
|
||||
* @alias module:model/Animal
|
||||
* @class
|
||||
* @param className
|
||||
* @param className {String}
|
||||
*/
|
||||
var exports = function(className) {
|
||||
var _this = this;
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
* @alias module:model/Cat
|
||||
* @class
|
||||
* @extends module:model/Animal
|
||||
* @param className
|
||||
* @param className {String}
|
||||
*/
|
||||
var exports = function(className) {
|
||||
var _this = this;
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
* @alias module:model/Dog
|
||||
* @class
|
||||
* @extends module:model/Animal
|
||||
* @param className
|
||||
* @param className {String}
|
||||
*/
|
||||
var exports = function(className) {
|
||||
var _this = this;
|
||||
|
||||
@@ -52,10 +52,10 @@
|
||||
* Constructs a new <code>FormatTest</code>.
|
||||
* @alias module:model/FormatTest
|
||||
* @class
|
||||
* @param _number
|
||||
* @param _byte
|
||||
* @param _date
|
||||
* @param password
|
||||
* @param _number {Number}
|
||||
* @param _byte {String}
|
||||
* @param _date {Date}
|
||||
* @param password {String}
|
||||
*/
|
||||
var exports = function(_number, _byte, _date, password) {
|
||||
var _this = this;
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
* Model for testing model name same as property name
|
||||
* @alias module:model/Name
|
||||
* @class
|
||||
* @param name
|
||||
* @param name {Integer}
|
||||
*/
|
||||
var exports = function(name) {
|
||||
var _this = this;
|
||||
|
||||
@@ -52,8 +52,8 @@
|
||||
* Constructs a new <code>Pet</code>.
|
||||
* @alias module:model/Pet
|
||||
* @class
|
||||
* @param name
|
||||
* @param photoUrls
|
||||
* @param name {String}
|
||||
* @param photoUrls {Array.<String>}
|
||||
*/
|
||||
var exports = function(name, photoUrls) {
|
||||
var _this = this;
|
||||
|
||||
Reference in New Issue
Block a user