Skip to content

Commit 80ee680

Browse files
authored
Merge pull request #17 from thammel/bugfix/fix-issue-16
Added functionality for authentication (Fix #16)
2 parents c4d1df1 + 38de10d commit 80ee680

12 files changed

+221
-211
lines changed

aas_python_http_client/api/aasx_file_server_api_api.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def delete_aasxby_package_id_with_http_info(self, package_id, **kwargs): # noqa
107107
['application/json']) # noqa: E501
108108

109109
# Authentication setting
110-
auth_settings = [] # noqa: E501
110+
auth_settings = self.api_client.configuration.get_auth_settings_keys() # noqa: E501
111111

112112
return self.api_client.call_api(
113113
'/packages/{packageId}', 'DELETE',
@@ -200,7 +200,7 @@ def get_aasxby_package_id_with_http_info(self, package_id, **kwargs): # noqa: E
200200
['application/asset-administration-shell-package', 'application/json']) # noqa: E501
201201

202202
# Authentication setting
203-
auth_settings = [] # noqa: E501
203+
auth_settings = self.api_client.configuration.get_auth_settings_keys() # noqa: E501
204204

205205
return self.api_client.call_api(
206206
'/packages/{packageId}', 'GET',
@@ -297,7 +297,7 @@ def get_all_aasx_package_ids_with_http_info(self, **kwargs): # noqa: E501
297297
['application/json']) # noqa: E501
298298

299299
# Authentication setting
300-
auth_settings = [] # noqa: E501
300+
auth_settings = self.api_client.configuration.get_auth_settings_keys() # noqa: E501
301301

302302
return self.api_client.call_api(
303303
'/packages', 'GET',
@@ -411,7 +411,7 @@ def post_aasx_package_with_http_info(self, aas_ids, file, file_name, **kwargs):
411411
['multipart/form-data']) # noqa: E501
412412

413413
# Authentication setting
414-
auth_settings = [] # noqa: E501
414+
auth_settings = self.api_client.configuration.get_auth_settings_keys() # noqa: E501
415415

416416
return self.api_client.call_api(
417417
'/packages', 'POST',
@@ -533,7 +533,7 @@ def put_aasxby_package_id_with_http_info(self, aas_ids, file, file_name, package
533533
['multipart/form-data']) # noqa: E501
534534

535535
# Authentication setting
536-
auth_settings = [] # noqa: E501
536+
auth_settings = self.api_client.configuration.get_auth_settings_keys() # noqa: E501
537537

538538
return self.api_client.call_api(
539539
'/packages/{packageId}', 'PUT',

aas_python_http_client/api/asset_administration_shell_api_api.py

Lines changed: 48 additions & 48 deletions
Large diffs are not rendered by default.

aas_python_http_client/api/asset_administration_shell_basic_discovery_api_api.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def delete_all_asset_links_by_id_with_http_info(self, aas_identifier, **kwargs):
107107
['application/json']) # noqa: E501
108108

109109
# Authentication setting
110-
auth_settings = [] # noqa: E501
110+
auth_settings = self.api_client.configuration.get_auth_settings_keys() # noqa: E501
111111

112112
return self.api_client.call_api(
113113
'/lookup/shells/{aasIdentifier}', 'DELETE',
@@ -205,7 +205,7 @@ def get_all_asset_administration_shell_ids_by_asset_link_with_http_info(self, **
205205
['application/json']) # noqa: E501
206206

207207
# Authentication setting
208-
auth_settings = [] # noqa: E501
208+
auth_settings = self.api_client.configuration.get_auth_settings_keys() # noqa: E501
209209

210210
return self.api_client.call_api(
211211
'/lookup/shells', 'GET',
@@ -298,7 +298,7 @@ def get_all_asset_links_by_id_with_http_info(self, aas_identifier, **kwargs): #
298298
['application/json']) # noqa: E501
299299

300300
# Authentication setting
301-
auth_settings = [] # noqa: E501
301+
auth_settings = self.api_client.configuration.get_auth_settings_keys() # noqa: E501
302302

303303
return self.api_client.call_api(
304304
'/lookup/shells/{aasIdentifier}', 'GET',
@@ -403,7 +403,7 @@ def post_all_asset_links_by_id_with_http_info(self, body, aas_identifier, **kwar
403403
['application/json']) # noqa: E501
404404

405405
# Authentication setting
406-
auth_settings = [] # noqa: E501
406+
auth_settings = self.api_client.configuration.get_auth_settings_keys() # noqa: E501
407407

408408
return self.api_client.call_api(
409409
'/lookup/shells/{aasIdentifier}', 'POST',

aas_python_http_client/api/asset_administration_shell_registry_api_api.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def delete_asset_administration_shell_descriptor_by_id_with_http_info(self, aas_
107107
['application/json']) # noqa: E501
108108

109109
# Authentication setting
110-
auth_settings = [] # noqa: E501
110+
auth_settings = self.api_client.configuration.get_auth_settings_keys() # noqa: E501
111111

112112
return self.api_client.call_api(
113113
'/shell-descriptors/{aasIdentifier}', 'DELETE',
@@ -208,7 +208,7 @@ def delete_submodel_descriptor_by_id_through_superpath_with_http_info(self, aas_
208208
['application/json']) # noqa: E501
209209

210210
# Authentication setting
211-
auth_settings = [] # noqa: E501
211+
auth_settings = self.api_client.configuration.get_auth_settings_keys() # noqa: E501
212212

213213
return self.api_client.call_api(
214214
'/shell-descriptors/{aasIdentifier}/submodel-descriptors/{submodelIdentifier}', 'DELETE',
@@ -309,7 +309,7 @@ def get_all_asset_administration_shell_descriptors_with_http_info(self, **kwargs
309309
['application/json']) # noqa: E501
310310

311311
# Authentication setting
312-
auth_settings = [] # noqa: E501
312+
auth_settings = self.api_client.configuration.get_auth_settings_keys() # noqa: E501
313313

314314
return self.api_client.call_api(
315315
'/shell-descriptors', 'GET',
@@ -410,7 +410,7 @@ def get_all_submodel_descriptors_through_superpath_with_http_info(self, aas_iden
410410
['application/json']) # noqa: E501
411411

412412
# Authentication setting
413-
auth_settings = [] # noqa: E501
413+
auth_settings = self.api_client.configuration.get_auth_settings_keys() # noqa: E501
414414

415415
return self.api_client.call_api(
416416
'/shell-descriptors/{aasIdentifier}/submodel-descriptors', 'GET',
@@ -503,7 +503,7 @@ def get_asset_administration_shell_descriptor_by_id_with_http_info(self, aas_ide
503503
['application/json']) # noqa: E501
504504

505505
# Authentication setting
506-
auth_settings = [] # noqa: E501
506+
auth_settings = self.api_client.configuration.get_auth_settings_keys() # noqa: E501
507507

508508
return self.api_client.call_api(
509509
'/shell-descriptors/{aasIdentifier}', 'GET',
@@ -604,7 +604,7 @@ def get_submodel_descriptor_by_id_through_superpath_with_http_info(self, aas_ide
604604
['application/json']) # noqa: E501
605605

606606
# Authentication setting
607-
auth_settings = [] # noqa: E501
607+
auth_settings = self.api_client.configuration.get_auth_settings_keys() # noqa: E501
608608

609609
return self.api_client.call_api(
610610
'/shell-descriptors/{aasIdentifier}/submodel-descriptors/{submodelIdentifier}', 'GET',
@@ -701,7 +701,7 @@ def post_asset_administration_shell_descriptor_with_http_info(self, body, **kwar
701701
['application/json']) # noqa: E501
702702

703703
# Authentication setting
704-
auth_settings = [] # noqa: E501
704+
auth_settings = self.api_client.configuration.get_auth_settings_keys() # noqa: E501
705705

706706
return self.api_client.call_api(
707707
'/shell-descriptors', 'POST',
@@ -806,7 +806,7 @@ def post_submodel_descriptor_through_superpath_with_http_info(self, body, aas_id
806806
['application/json']) # noqa: E501
807807

808808
# Authentication setting
809-
auth_settings = [] # noqa: E501
809+
auth_settings = self.api_client.configuration.get_auth_settings_keys() # noqa: E501
810810

811811
return self.api_client.call_api(
812812
'/shell-descriptors/{aasIdentifier}/submodel-descriptors', 'POST',
@@ -911,7 +911,7 @@ def put_asset_administration_shell_descriptor_by_id_with_http_info(self, body, a
911911
['application/json']) # noqa: E501
912912

913913
# Authentication setting
914-
auth_settings = [] # noqa: E501
914+
auth_settings = self.api_client.configuration.get_auth_settings_keys() # noqa: E501
915915

916916
return self.api_client.call_api(
917917
'/shell-descriptors/{aasIdentifier}', 'PUT',
@@ -1024,7 +1024,7 @@ def put_submodel_descriptor_by_id_through_superpath_with_http_info(self, body, a
10241024
['application/json']) # noqa: E501
10251025

10261026
# Authentication setting
1027-
auth_settings = [] # noqa: E501
1027+
auth_settings = self.api_client.configuration.get_auth_settings_keys() # noqa: E501
10281028

10291029
return self.api_client.call_api(
10301030
'/shell-descriptors/{aasIdentifier}/submodel-descriptors/{submodelIdentifier}', 'PUT',

0 commit comments

Comments
 (0)