This commit is contained in:
Tony Tam
2015-05-20 22:20:51 -07:00
parent 6fe6a6daa7
commit 11dd7784f8
17 changed files with 227 additions and 82 deletions

View File

@@ -57,7 +57,7 @@ public class PetApi {
String[] contentTypes = {
"application/json","application/xml",
"application/json","application/xml"
};
String contentType = contentTypes.length > 0 ? contentTypes[0] : "application/json";
@@ -107,7 +107,7 @@ public class PetApi {
String[] contentTypes = {
"application/json","application/xml",
"application/json","application/xml"
};
String contentType = contentTypes.length > 0 ? contentTypes[0] : "application/json";
@@ -325,7 +325,7 @@ public class PetApi {
String[] contentTypes = {
"application/x-www-form-urlencoded",
"application/x-www-form-urlencoded"
};
String contentType = contentTypes.length > 0 ? contentTypes[0] : "application/json";
@@ -449,7 +449,7 @@ public class PetApi {
String[] contentTypes = {
"multipart/form-data",
"multipart/form-data"
};
String contentType = contentTypes.length > 0 ? contentTypes[0] : "application/json";