This commit is contained in:
Tony Tam 2015-10-20 10:32:19 -07:00
parent a21f08118e
commit b2506ab598
2 changed files with 30 additions and 36 deletions

View File

@ -97,10 +97,6 @@
], ],
"responses": { "responses": {
"404": {
"description" : "User not found"
}
,
"200": { "200": {
"description" : "successful operation", "description" : "successful operation",
"schema" : { "schema" : {
@ -123,6 +119,10 @@
"400": { "400": {
"description" : "Invalid username supplied" "description" : "Invalid username supplied"
} }
,
"404": {
"description" : "User not found"
}
} }
@ -154,13 +154,13 @@
], ],
"responses": { "responses": {
"404": {
"description" : "User not found"
}
,
"400": { "400": {
"description" : "Invalid user supplied" "description" : "Invalid user supplied"
} }
,
"404": {
"description" : "User not found"
}
} }
@ -183,13 +183,13 @@
], ],
"responses": { "responses": {
"404": {
"description" : "User not found"
}
,
"400": { "400": {
"description" : "Invalid username supplied" "description" : "Invalid username supplied"
} }
,
"404": {
"description" : "User not found"
}
} }
@ -312,16 +312,16 @@
], ],
"responses": { "responses": {
"405": { "400": {
"description" : "Validation exception" "description" : "Invalid ID supplied"
} }
, ,
"404": { "404": {
"description" : "Pet not found" "description" : "Pet not found"
} }
, ,
"400": { "405": {
"description" : "Invalid ID supplied" "description" : "Validation exception"
} }
@ -416,9 +416,6 @@
"description" : "Status values that need to be considered for filter", "description" : "Status values that need to be considered for filter",
"required" : false, "required" : false,
"type" : "array", "type" : "array",
"items" : {
"type" : "string"
},
"collectionFormat" : "multi", "collectionFormat" : "multi",
"default" : "available" "default" : "available"
} }
@ -460,9 +457,6 @@
"description" : "Tags to filter by", "description" : "Tags to filter by",
"required" : false, "required" : false,
"type" : "array", "type" : "array",
"items" : {
"type" : "string"
},
"collectionFormat" : "multi" "collectionFormat" : "multi"
} }
@ -508,10 +502,6 @@
], ],
"responses": { "responses": {
"404": {
"description" : "Pet not found"
}
,
"200": { "200": {
"description" : "successful operation", "description" : "successful operation",
"schema" : { "schema" : {
@ -522,6 +512,10 @@
"400": { "400": {
"description" : "Invalid ID supplied" "description" : "Invalid ID supplied"
} }
,
"404": {
"description" : "Pet not found"
}
} }
@ -621,10 +615,6 @@
], ],
"responses": { "responses": {
"404": {
"description" : "Order not found"
}
,
"200": { "200": {
"description" : "successful operation", "description" : "successful operation",
"schema" : { "schema" : {
@ -635,6 +625,10 @@
"400": { "400": {
"description" : "Invalid ID supplied" "description" : "Invalid ID supplied"
} }
,
"404": {
"description" : "Order not found"
}
} }
@ -657,13 +651,13 @@
], ],
"responses": { "responses": {
"404": {
"description" : "Order not found"
}
,
"400": { "400": {
"description" : "Invalid ID supplied" "description" : "Invalid ID supplied"
} }
,
"404": {
"description" : "Order not found"
}
} }

View File

@ -24,7 +24,7 @@ exports.placeOrder = function(body) {
"complete" : true, "complete" : true,
"status" : "aeiou", "status" : "aeiou",
"quantity" : 123, "quantity" : 123,
"shipDate" : "2015-10-08T15:56:08.367+0000" "shipDate" : "2015-10-20T06:12:23.907+0000"
}; };
@ -43,7 +43,7 @@ exports.getOrderById = function(orderId) {
"complete" : true, "complete" : true,
"status" : "aeiou", "status" : "aeiou",
"quantity" : 123, "quantity" : 123,
"shipDate" : "2015-10-08T15:56:08.371+0000" "shipDate" : "2015-10-20T06:12:23.911+0000"
}; };