Skip to content

Commit 73e1b2f

Browse files
Merge pull request #16 from mxenabled/openapi-generator-0.4.5
Generated version 0.4.5
2 parents 1333f95 + 24904be commit 73e1b2f

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ configuration = mx_platform_python.Configuration(
5151
host = 'https://int-api.mx.com'
5252
)
5353

54-
with mx_platform_python.ApiClient(configuration) as api_client:
54+
with mx_platform_python.ApiClient(configuration, "Accept", "application/vnd.mx.api.v1+json") as api_client:
5555
api_instance = mx_platform_api.MxPlatformApi(api_client)
5656
user_create_request_body = UserCreateRequestBody(
5757
user = UserCreateRequest(

mx_platform_python/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"""
1111

1212

13-
__version__ = "0.4.4"
13+
__version__ = "0.4.5"
1414

1515
# import ApiClient
1616
from mx_platform_python.api_client import ApiClient

mx_platform_python/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
7676
self.default_headers[header_name] = header_value
7777
self.cookie = cookie
7878
# Set default User-Agent.
79-
self.user_agent = 'OpenAPI-Generator/0.4.4/python'
79+
self.user_agent = 'OpenAPI-Generator/0.4.5/python'
8080

8181
def __enter__(self):
8282
return self

mx_platform_python/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ def to_debug_report(self):
404404
"OS: {env}\n"\
405405
"Python Version: {pyversion}\n"\
406406
"Version of the API: 0.1.0\n"\
407-
"SDK Package Version: 0.4.4".\
407+
"SDK Package Version: 0.4.5".\
408408
format(env=sys.platform, pyversion=sys.version)
409409

410410
def get_host_settings(self):

openapi/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
22
packageName: mx_platform_python
33
packageUrl: https://pypi.org/project/mx-platform-python
4-
packageVersion: 0.4.4
4+
packageVersion: 0.4.5
55
projectName: mx-platform-python

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
from setuptools import setup, find_packages # noqa: H301
1212

1313
NAME = "mx-platform-python"
14-
VERSION = "0.4.4"
14+
VERSION = "0.4.5"
1515
# To install the library, run the following
1616
#
1717
# python setup.py install

0 commit comments

Comments
 (0)