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

@@ -66,7 +66,7 @@ class PetApi(object):
accepts = ['application/json', 'application/xml']
headerParams['Accept'] = ', '.join(accepts)
content_types = ['application/json', 'application/xml', ]
content_types = ['application/json', 'application/xml']
headerParams['Content-Type'] = content_types[0] if len(content_types) > 0 else 'application/json'
@@ -124,7 +124,7 @@ class PetApi(object):
accepts = ['application/json', 'application/xml']
headerParams['Accept'] = ', '.join(accepts)
content_types = ['application/json', 'application/xml', ]
content_types = ['application/json', 'application/xml']
headerParams['Content-Type'] = content_types[0] if len(content_types) > 0 else 'application/json'
@@ -379,7 +379,7 @@ class PetApi(object):
accepts = ['application/json', 'application/xml']
headerParams['Accept'] = ', '.join(accepts)
content_types = ['application/x-www-form-urlencoded', ]
content_types = ['application/x-www-form-urlencoded']
headerParams['Content-Type'] = content_types[0] if len(content_types) > 0 else 'application/json'
@@ -513,7 +513,7 @@ class PetApi(object):
accepts = ['application/json', 'application/xml']
headerParams['Accept'] = ', '.join(accepts)
content_types = ['multipart/form-data', ]
content_types = ['multipart/form-data']
headerParams['Content-Type'] = content_types[0] if len(content_types) > 0 else 'application/json'