diff --git a/qase-api-client/docs/CustomFieldsApi.md b/qase-api-client/docs/CustomFieldsApi.md index a846cd8b..10ebe39f 100644 --- a/qase-api-client/docs/CustomFieldsApi.md +++ b/qase-api-client/docs/CustomFieldsApi.md @@ -5,10 +5,10 @@ All URIs are relative to *https://api.qase.io/v1* Method | HTTP request | Description ------------- | ------------- | ------------- [**create_custom_field**](CustomFieldsApi.md#create_custom_field) | **POST** /custom_field | Create new Custom Field -[**delete_custom_field**](CustomFieldsApi.md#delete_custom_field) | **DELETE** /custom_field/{id} | Delete Custom Field by id -[**get_custom_field**](CustomFieldsApi.md#get_custom_field) | **GET** /custom_field/{id} | Get Custom Field by id +[**delete_custom_field**](CustomFieldsApi.md#delete_custom_field) | **DELETE** /custom_field/{id} | Delete Custom Field +[**get_custom_field**](CustomFieldsApi.md#get_custom_field) | **GET** /custom_field/{id} | Get Custom Field [**get_custom_fields**](CustomFieldsApi.md#get_custom_fields) | **GET** /custom_field | Get all Custom Fields -[**update_custom_field**](CustomFieldsApi.md#update_custom_field) | **PATCH** /custom_field/{id} | Update Custom Field by id +[**update_custom_field**](CustomFieldsApi.md#update_custom_field) | **PATCH** /custom_field/{id} | Update Custom Field # **create_custom_field** @@ -100,7 +100,7 @@ Name | Type | Description | Notes # **delete_custom_field** > BaseResponse delete_custom_field(id) -Delete Custom Field by id +Delete Custom Field This method allows to delete custom field. @@ -139,7 +139,7 @@ with qase.api_client_v1.ApiClient(configuration) as api_client: id = 56 # int | Identifier. try: - # Delete Custom Field by id + # Delete Custom Field api_response = api_instance.delete_custom_field(id) print("The response of CustomFieldsApi->delete_custom_field:\n") pprint(api_response) @@ -185,7 +185,7 @@ Name | Type | Description | Notes # **get_custom_field** > CustomFieldResponse get_custom_field(id) -Get Custom Field by id +Get Custom Field This method allows to retrieve custom field. @@ -224,7 +224,7 @@ with qase.api_client_v1.ApiClient(configuration) as api_client: id = 56 # int | Identifier. try: - # Get Custom Field by id + # Get Custom Field api_response = api_instance.get_custom_field(id) print("The response of CustomFieldsApi->get_custom_field:\n") pprint(api_response) @@ -360,7 +360,7 @@ Name | Type | Description | Notes # **update_custom_field** > BaseResponse update_custom_field(id, custom_field_update) -Update Custom Field by id +Update Custom Field This method allows to update custom field. @@ -401,7 +401,7 @@ with qase.api_client_v1.ApiClient(configuration) as api_client: custom_field_update = qase.api_client_v1.CustomFieldUpdate() # CustomFieldUpdate | try: - # Update Custom Field by id + # Update Custom Field api_response = api_instance.update_custom_field(id, custom_field_update) print("The response of CustomFieldsApi->update_custom_field:\n") pprint(api_response) diff --git a/qase-api-client/pyproject.toml b/qase-api-client/pyproject.toml index 2025f9e5..181a9d22 100644 --- a/qase-api-client/pyproject.toml +++ b/qase-api-client/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "qase-api-client" -version = "2.0.1" +version = "2.0.2" description = "Qase TestOps API V1 client for Python" readme = "README.md" authors = [{name = "Qase Team", email = "support@qase.io"}] diff --git a/qase-api-client/src/qase/api_client_v1/api/attachments_api.py b/qase-api-client/src/qase/api_client_v1/api/attachments_api.py index 79798cf2..c1056ba7 100644 --- a/qase-api-client/src/qase/api_client_v1/api/attachments_api.py +++ b/qase-api-client/src/qase/api_client_v1/api/attachments_api.py @@ -1133,7 +1133,7 @@ def _upload_attachment_serialize( _host = None _collection_formats: Dict[str, str] = { - 'file': 'csv', + 'file[]': 'csv', } _path_params: Dict[str, str] = {} @@ -1152,7 +1152,7 @@ def _upload_attachment_serialize( # process the header parameters # process the form parameters if file is not None: - _files['file'] = file + _files['file[]'] = file # process the body parameter diff --git a/qase-api-client/src/qase/api_client_v1/api/custom_fields_api.py b/qase-api-client/src/qase/api_client_v1/api/custom_fields_api.py index 9cc48ff2..229fddec 100644 --- a/qase-api-client/src/qase/api_client_v1/api/custom_fields_api.py +++ b/qase-api-client/src/qase/api_client_v1/api/custom_fields_api.py @@ -351,7 +351,7 @@ def delete_custom_field( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> BaseResponse: - """Delete Custom Field by id + """Delete Custom Field This method allows to delete custom field. @@ -423,7 +423,7 @@ def delete_custom_field_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[BaseResponse]: - """Delete Custom Field by id + """Delete Custom Field This method allows to delete custom field. @@ -495,7 +495,7 @@ def delete_custom_field_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Delete Custom Field by id + """Delete Custom Field This method allows to delete custom field. @@ -627,7 +627,7 @@ def get_custom_field( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> CustomFieldResponse: - """Get Custom Field by id + """Get Custom Field This method allows to retrieve custom field. @@ -699,7 +699,7 @@ def get_custom_field_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[CustomFieldResponse]: - """Get Custom Field by id + """Get Custom Field This method allows to retrieve custom field. @@ -771,7 +771,7 @@ def get_custom_field_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Get Custom Field by id + """Get Custom Field This method allows to retrieve custom field. @@ -1230,7 +1230,7 @@ def update_custom_field( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> BaseResponse: - """Update Custom Field by id + """Update Custom Field This method allows to update custom field. @@ -1307,7 +1307,7 @@ def update_custom_field_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[BaseResponse]: - """Update Custom Field by id + """Update Custom Field This method allows to update custom field. @@ -1384,7 +1384,7 @@ def update_custom_field_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Update Custom Field by id + """Update Custom Field This method allows to update custom field.