hotfix for patching custom objects issue#866

This commit is contained in:
Fabian von Feilitzsch 2020-02-27 13:29:54 -05:00
parent 6c7b5ae751
commit befcc7eab1

View File

@ -1657,7 +1657,7 @@ class CustomObjectsApi(object):
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.\
select_header_content_type(['application/json-patch+json', 'application/merge-patch+json'])
select_header_content_type(['application/merge-patch+json'])
# Authentication setting
auth_settings = ['BearerToken']
@ -1781,7 +1781,7 @@ class CustomObjectsApi(object):
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.\
select_header_content_type(['application/json-patch+json', 'application/merge-patch+json'])
select_header_content_type(['application/merge-patch+json'])
# Authentication setting
auth_settings = ['BearerToken']
@ -1905,7 +1905,7 @@ class CustomObjectsApi(object):
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.\
select_header_content_type(['application/json-patch+json', 'application/merge-patch+json'])
select_header_content_type(['application/merge-patch+json'])
# Authentication setting
auth_settings = ['BearerToken']
@ -2036,7 +2036,7 @@ class CustomObjectsApi(object):
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.\
select_header_content_type(['application/json-patch+json', 'application/merge-patch+json'])
select_header_content_type(['application/merge-patch+json'])
# Authentication setting
auth_settings = ['BearerToken']
@ -2167,7 +2167,7 @@ class CustomObjectsApi(object):
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.\
select_header_content_type(['application/json-patch+json', 'application/merge-patch+json'])
select_header_content_type(['application/merge-patch+json'])
# Authentication setting
auth_settings = ['BearerToken']
@ -2298,7 +2298,7 @@ class CustomObjectsApi(object):
# HTTP header `Content-Type`
header_params['Content-Type'] = self.api_client.\
select_header_content_type(['application/json-patch+json', 'application/merge-patch+json'])
select_header_content_type(['application/merge-patch+json'])
# Authentication setting
auth_settings = ['BearerToken']