Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions qase-api-client/docs/CustomFieldsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**
Expand Down Expand Up @@ -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.

Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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.

Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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.

Expand Down Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion qase-api-client/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"}]
Expand Down
4 changes: 2 additions & 2 deletions qase-api-client/src/qase/api_client_v1/api/attachments_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1133,7 +1133,7 @@ def _upload_attachment_serialize(
_host = None

_collection_formats: Dict[str, str] = {
'file': 'csv',
'file[]': 'csv',
}

_path_params: Dict[str, str] = {}
Expand All @@ -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


Expand Down
18 changes: 9 additions & 9 deletions qase-api-client/src/qase/api_client_v1/api/custom_fields_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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.

Expand Down Expand Up @@ -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.

Expand Down Expand Up @@ -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.

Expand Down Expand Up @@ -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.

Expand Down Expand Up @@ -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.

Expand Down Expand Up @@ -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.

Expand Down Expand Up @@ -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.

Expand Down Expand Up @@ -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.

Expand Down