update ts angular2 petstore

This commit is contained in:
wing328
2017-07-02 22:39:18 +08:00
parent 5de6f7b86e
commit e50a4cca36
9 changed files with 60 additions and 60 deletions

View File

@@ -191,13 +191,13 @@ export class PetApi {
}
// to determine the Content-Type header
let consumes: string[] = [
'application/json',
'application/json',
'application/xml'
];
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];
@@ -253,7 +253,7 @@ export class PetApi {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];
@@ -304,7 +304,7 @@ export class PetApi {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];
@@ -355,7 +355,7 @@ export class PetApi {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];
@@ -403,7 +403,7 @@ export class PetApi {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];
@@ -442,13 +442,13 @@ export class PetApi {
}
// to determine the Content-Type header
let consumes: string[] = [
'application/json',
'application/json',
'application/xml'
];
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];
@@ -504,7 +504,7 @@ export class PetApi {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];

View File

@@ -126,7 +126,7 @@ export class StoreApi {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];
@@ -202,7 +202,7 @@ export class StoreApi {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];
@@ -240,7 +240,7 @@ export class StoreApi {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];

View File

@@ -191,7 +191,7 @@ export class UserApi {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];
@@ -232,7 +232,7 @@ export class UserApi {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];
@@ -273,7 +273,7 @@ export class UserApi {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];
@@ -315,7 +315,7 @@ export class UserApi {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];
@@ -354,7 +354,7 @@ export class UserApi {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];
@@ -405,7 +405,7 @@ export class UserApi {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];
@@ -438,7 +438,7 @@ export class UserApi {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];
@@ -482,7 +482,7 @@ export class UserApi {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];

View File

@@ -191,13 +191,13 @@ export class PetApi {
}
// to determine the Content-Type header
let consumes: string[] = [
'application/json',
'application/json',
'application/xml'
];
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];
@@ -253,7 +253,7 @@ export class PetApi {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];
@@ -304,7 +304,7 @@ export class PetApi {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];
@@ -355,7 +355,7 @@ export class PetApi {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];
@@ -403,7 +403,7 @@ export class PetApi {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];
@@ -442,13 +442,13 @@ export class PetApi {
}
// to determine the Content-Type header
let consumes: string[] = [
'application/json',
'application/json',
'application/xml'
];
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];
@@ -504,7 +504,7 @@ export class PetApi {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];

View File

@@ -126,7 +126,7 @@ export class StoreApi {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];
@@ -202,7 +202,7 @@ export class StoreApi {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];
@@ -240,7 +240,7 @@ export class StoreApi {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];

View File

@@ -191,7 +191,7 @@ export class UserApi {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];
@@ -232,7 +232,7 @@ export class UserApi {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];
@@ -273,7 +273,7 @@ export class UserApi {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];
@@ -315,7 +315,7 @@ export class UserApi {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];
@@ -354,7 +354,7 @@ export class UserApi {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];
@@ -405,7 +405,7 @@ export class UserApi {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];
@@ -438,7 +438,7 @@ export class UserApi {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];
@@ -482,7 +482,7 @@ export class UserApi {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];

View File

@@ -192,13 +192,13 @@ export class PetApi implements PetApiInterface {
}
// to determine the Content-Type header
let consumes: string[] = [
'application/json',
'application/json',
'application/xml'
];
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];
@@ -254,7 +254,7 @@ export class PetApi implements PetApiInterface {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];
@@ -305,7 +305,7 @@ export class PetApi implements PetApiInterface {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];
@@ -356,7 +356,7 @@ export class PetApi implements PetApiInterface {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];
@@ -404,7 +404,7 @@ export class PetApi implements PetApiInterface {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];
@@ -443,13 +443,13 @@ export class PetApi implements PetApiInterface {
}
// to determine the Content-Type header
let consumes: string[] = [
'application/json',
'application/json',
'application/xml'
];
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];
@@ -505,7 +505,7 @@ export class PetApi implements PetApiInterface {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];

View File

@@ -127,7 +127,7 @@ export class StoreApi implements StoreApiInterface {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];
@@ -203,7 +203,7 @@ export class StoreApi implements StoreApiInterface {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];
@@ -241,7 +241,7 @@ export class StoreApi implements StoreApiInterface {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];

View File

@@ -192,7 +192,7 @@ export class UserApi implements UserApiInterface {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];
@@ -233,7 +233,7 @@ export class UserApi implements UserApiInterface {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];
@@ -274,7 +274,7 @@ export class UserApi implements UserApiInterface {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];
@@ -316,7 +316,7 @@ export class UserApi implements UserApiInterface {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];
@@ -355,7 +355,7 @@ export class UserApi implements UserApiInterface {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];
@@ -406,7 +406,7 @@ export class UserApi implements UserApiInterface {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];
@@ -439,7 +439,7 @@ export class UserApi implements UserApiInterface {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];
@@ -483,7 +483,7 @@ export class UserApi implements UserApiInterface {
// to determine the Accept header
let produces: string[] = [
'application/xml',
'application/xml',
'application/json'
];