diff --git a/modules/openapi-generator/src/main/resources/python-nextgen/api_client.mustache b/modules/openapi-generator/src/main/resources/python-nextgen/api_client.mustache index cd3e619d5b06..b033743b293b 100644 --- a/modules/openapi-generator/src/main/resources/python-nextgen/api_client.mustache +++ b/modules/openapi-generator/src/main/resources/python-nextgen/api_client.mustache @@ -563,7 +563,7 @@ class ApiClient(object): else: new_params.append((k, v)) - return "&".join(["=".join(item) for item in new_params]) + return "&".join(["=".join(str(item)) for item in new_params]) def files_parameters(self, files=None): """Builds form parameters.