Skip to content

Commit d1a027d

Browse files
authored
Merge pull request #73 from regulaforensics/b3e9cacf
update clients
2 parents a6e2ef1 + 667d356 commit d1a027d

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

regula/documentreader/webclient/gen/api/default_api.py

+7
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ def ping(self, **kwargs): # noqa: E501
3939
>>> thread = api.ping(async_req=True)
4040
>>> result = thread.get()
4141
42+
:param x_request_id:
43+
:type x_request_id: str
4244
:param async_req: Whether to execute the request asynchronously.
4345
:type async_req: bool, optional
4446
:param _preload_content: if False, the urllib3.HTTPResponse object will
@@ -66,6 +68,8 @@ def ping_with_http_info(self, **kwargs): # noqa: E501
6668
>>> thread = api.ping_with_http_info(async_req=True)
6769
>>> result = thread.get()
6870
71+
:param x_request_id:
72+
:type x_request_id: str
6973
:param async_req: Whether to execute the request asynchronously.
7074
:type async_req: bool, optional
7175
:param _return_http_data_only: response data without head status code
@@ -92,6 +96,7 @@ def ping_with_http_info(self, **kwargs): # noqa: E501
9296
local_var_params = locals()
9397

9498
all_params = [
99+
'x_request_id'
95100
]
96101
all_params.extend(
97102
[
@@ -119,6 +124,8 @@ def ping_with_http_info(self, **kwargs): # noqa: E501
119124
query_params = []
120125

121126
header_params = {}
127+
if 'x_request_id' in local_var_params:
128+
header_params['X-RequestID'] = local_var_params['x_request_id'] # noqa: E501
122129

123130
form_params = []
124131
local_var_files = {}

regula/documentreader/webclient/gen/api/process_api.py

+8-1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ def api_process(self, process_request, **kwargs): # noqa: E501
4141
4242
:param process_request: (required)
4343
:type process_request: ProcessRequest
44+
:param x_request_id:
45+
:type x_request_id: str
4446
:param async_req: Whether to execute the request asynchronously.
4547
:type async_req: bool, optional
4648
:param _preload_content: if False, the urllib3.HTTPResponse object will
@@ -70,6 +72,8 @@ def api_process_with_http_info(self, process_request, **kwargs): # noqa: E501
7072
7173
:param process_request: (required)
7274
:type process_request: ProcessRequest
75+
:param x_request_id:
76+
:type x_request_id: str
7377
:param async_req: Whether to execute the request asynchronously.
7478
:type async_req: bool, optional
7579
:param _return_http_data_only: response data without head status code
@@ -96,7 +100,8 @@ def api_process_with_http_info(self, process_request, **kwargs): # noqa: E501
96100
local_var_params = locals()
97101

98102
all_params = [
99-
'process_request'
103+
'process_request',
104+
'x_request_id'
100105
]
101106
all_params.extend(
102107
[
@@ -128,6 +133,8 @@ def api_process_with_http_info(self, process_request, **kwargs): # noqa: E501
128133
query_params = []
129134

130135
header_params = {}
136+
if 'x_request_id' in local_var_params:
137+
header_params['X-RequestID'] = local_var_params['x_request_id'] # noqa: E501
131138

132139
form_params = []
133140
local_var_files = {}

0 commit comments

Comments
 (0)