We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5557554 commit 63bb202Copy full SHA for 63bb202
src/main/resources/python/swagger.mustache
@@ -68,7 +68,7 @@ class ApiClient:
68
if 'Content-type' not in headers:
69
headers['Content-type'] = 'application/json'
70
data = json.dumps(postData)
71
- else if headers['Content-type'] == 'multipart/form':
+ elif headers['Content-type'] == 'multipart/form':
72
headers['Content-type'] = 'multipart/form; boundry=%s' % self.boundary
73
data = self.buildMultipartFormData(postData, files)
74
else:
0 commit comments