Skip to content

Commit 1620f63

Browse files
PavelButuzovpavel.butuzov
andauthored
Fixed the root directory for the import. (#7)
* Fixed the root directory for the import. --------- Co-authored-by: pavel.butuzov <pavel.butuzov@testit.software>
1 parent 1555c65 commit 1620f63

483 files changed

Lines changed: 4256 additions & 4458 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
| 4.5 | 3.2 |
1414

1515
## Installation & Usage
16+
1617
### pip install
1718

1819
```sh
@@ -170,7 +171,6 @@ Class | Method | HTTP request | Description
170171
*ProjectWorkItemsApi* | [**api_v2_projects_project_id_work_items_tags_get**](docs/ProjectWorkItemsApi.md#api_v2_projects_project_id_work_items_tags_get) | **GET** /api/v2/projects/{projectId}/workItems/tags | Get WorkItems Tags
171172
*ProjectWorkItemsApi* | [**get_work_items_by_project_id**](docs/ProjectWorkItemsApi.md#get_work_items_by_project_id) | **GET** /api/v2/projects/{projectId}/workItems | Get project work items
172173
*ProjectsApi* | [**add_globa_attributes_to_project**](docs/ProjectsApi.md#add_globa_attributes_to_project) | **POST** /api/v2/projects/{id}/globalAttributes | Add global attributes to project
173-
*ProjectsApi* | [**api_v2_projects_demo_post**](docs/ProjectsApi.md#api_v2_projects_demo_post) | **POST** /api/v2/projects/demo |
174174
*ProjectsApi* | [**api_v2_projects_id_delete**](docs/ProjectsApi.md#api_v2_projects_id_delete) | **DELETE** /api/v2/projects/{id} | Archive project
175175
*ProjectsApi* | [**api_v2_projects_id_failure_classes_get**](docs/ProjectsApi.md#api_v2_projects_id_failure_classes_get) | **GET** /api/v2/projects/{id}/failureClasses | Get failure classes
176176
*ProjectsApi* | [**api_v2_projects_id_favorite_put**](docs/ProjectsApi.md#api_v2_projects_id_favorite_put) | **PUT** /api/v2/projects/{id}/favorite | Mark Project as favorite

docs/AttachmentsApi.md

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# testit_api_client.AttachmentsApi
1+
# testgear_api_client.AttachmentsApi
22

33
All URIs are relative to *http://localhost*
44

@@ -21,13 +21,13 @@ Delete attachment file
2121

2222
```python
2323
import time
24-
import testit_api_client
25-
from testit_api_client.api import attachments_api
26-
from testit_api_client.model.problem_details import ProblemDetails
24+
import testgear_api_client
25+
from testgear_api_client.api import attachments_api
26+
from testgear_api_client.model.problem_details import ProblemDetails
2727
from pprint import pprint
2828
# Defining the host is optional and defaults to http://localhost
2929
# See configuration.py for a list of all supported configuration parameters.
30-
configuration = testit_api_client.Configuration(
30+
configuration = testgear_api_client.Configuration(
3131
host = "http://localhost"
3232
)
3333

@@ -43,7 +43,7 @@ configuration.api_key['Bearer or PrivateToken'] = 'YOUR_API_KEY'
4343
# configuration.api_key_prefix['Bearer or PrivateToken'] = 'Bearer'
4444

4545
# Enter a context with an instance of the API client
46-
with testit_api_client.ApiClient(configuration) as api_client:
46+
with testgear_api_client.ApiClient(configuration) as api_client:
4747
# Create an instance of the API class
4848
api_instance = attachments_api.AttachmentsApi(api_client)
4949
id = "id_example" # str |
@@ -52,7 +52,7 @@ with testit_api_client.ApiClient(configuration) as api_client:
5252
try:
5353
# Delete attachment file
5454
api_instance.api_v2_attachments_id_delete(id)
55-
except testit_api_client.ApiException as e:
55+
except testgear_api_client.ApiException as e:
5656
print("Exception when calling AttachmentsApi->api_v2_attachments_id_delete: %s\n" % e)
5757
```
5858

@@ -97,13 +97,13 @@ Download attachment file
9797

9898
```python
9999
import time
100-
import testit_api_client
101-
from testit_api_client.api import attachments_api
102-
from testit_api_client.model.image_resize_type import ImageResizeType
100+
import testgear_api_client
101+
from testgear_api_client.api import attachments_api
102+
from testgear_api_client.model.image_resize_type import ImageResizeType
103103
from pprint import pprint
104104
# Defining the host is optional and defaults to http://localhost
105105
# See configuration.py for a list of all supported configuration parameters.
106-
configuration = testit_api_client.Configuration(
106+
configuration = testgear_api_client.Configuration(
107107
host = "http://localhost"
108108
)
109109

@@ -119,7 +119,7 @@ configuration.api_key['Bearer or PrivateToken'] = 'YOUR_API_KEY'
119119
# configuration.api_key_prefix['Bearer or PrivateToken'] = 'Bearer'
120120

121121
# Enter a context with an instance of the API client
122-
with testit_api_client.ApiClient(configuration) as api_client:
122+
with testgear_api_client.ApiClient(configuration) as api_client:
123123
# Create an instance of the API class
124124
api_instance = attachments_api.AttachmentsApi(api_client)
125125
id = "id_example" # str |
@@ -134,7 +134,7 @@ with testit_api_client.ApiClient(configuration) as api_client:
134134
# Download attachment file
135135
api_response = api_instance.api_v2_attachments_id_get(id)
136136
pprint(api_response)
137-
except testit_api_client.ApiException as e:
137+
except testgear_api_client.ApiException as e:
138138
print("Exception when calling AttachmentsApi->api_v2_attachments_id_get: %s\n" % e)
139139

140140
# example passing only required values which don't have defaults set
@@ -143,7 +143,7 @@ with testit_api_client.ApiClient(configuration) as api_client:
143143
# Download attachment file
144144
api_response = api_instance.api_v2_attachments_id_get(id, width=width, height=height, resize_type=resize_type, background_color=background_color, preview=preview)
145145
pprint(api_response)
146-
except testit_api_client.ApiException as e:
146+
except testgear_api_client.ApiException as e:
147147
print("Exception when calling AttachmentsApi->api_v2_attachments_id_get: %s\n" % e)
148148
```
149149

@@ -192,12 +192,12 @@ Get size of attachments storage in bytes
192192

193193
```python
194194
import time
195-
import testit_api_client
196-
from testit_api_client.api import attachments_api
195+
import testgear_api_client
196+
from testgear_api_client.api import attachments_api
197197
from pprint import pprint
198198
# Defining the host is optional and defaults to http://localhost
199199
# See configuration.py for a list of all supported configuration parameters.
200-
configuration = testit_api_client.Configuration(
200+
configuration = testgear_api_client.Configuration(
201201
host = "http://localhost"
202202
)
203203

@@ -213,7 +213,7 @@ configuration.api_key['Bearer or PrivateToken'] = 'YOUR_API_KEY'
213213
# configuration.api_key_prefix['Bearer or PrivateToken'] = 'Bearer'
214214

215215
# Enter a context with an instance of the API client
216-
with testit_api_client.ApiClient(configuration) as api_client:
216+
with testgear_api_client.ApiClient(configuration) as api_client:
217217
# Create an instance of the API class
218218
api_instance = attachments_api.AttachmentsApi(api_client)
219219

@@ -222,7 +222,7 @@ with testit_api_client.ApiClient(configuration) as api_client:
222222
# Get size of attachments storage in bytes
223223
api_response = api_instance.api_v2_attachments_occupied_file_storage_size_get()
224224
pprint(api_response)
225-
except testit_api_client.ApiException as e:
225+
except testgear_api_client.ApiException as e:
226226
print("Exception when calling AttachmentsApi->api_v2_attachments_occupied_file_storage_size_get: %s\n" % e)
227227
```
228228

@@ -257,23 +257,23 @@ This endpoint does not need any parameter.
257257
258258
Upload new attachment file
259259

260-
File size is restricted to 50 MB (52 428 800 bytes)
260+
File size is restricted to 1 GB (1 073 741 824 bytes)
261261

262262
### Example
263263

264264
* Api Key Authentication (Bearer or PrivateToken):
265265

266266
```python
267267
import time
268-
import testit_api_client
269-
from testit_api_client.api import attachments_api
270-
from testit_api_client.model.problem_details import ProblemDetails
271-
from testit_api_client.model.attachment_model import AttachmentModel
272-
from testit_api_client.model.validation_problem_details import ValidationProblemDetails
268+
import testgear_api_client
269+
from testgear_api_client.api import attachments_api
270+
from testgear_api_client.model.problem_details import ProblemDetails
271+
from testgear_api_client.model.attachment_model import AttachmentModel
272+
from testgear_api_client.model.validation_problem_details import ValidationProblemDetails
273273
from pprint import pprint
274274
# Defining the host is optional and defaults to http://localhost
275275
# See configuration.py for a list of all supported configuration parameters.
276-
configuration = testit_api_client.Configuration(
276+
configuration = testgear_api_client.Configuration(
277277
host = "http://localhost"
278278
)
279279

@@ -289,7 +289,7 @@ configuration.api_key['Bearer or PrivateToken'] = 'YOUR_API_KEY'
289289
# configuration.api_key_prefix['Bearer or PrivateToken'] = 'Bearer'
290290

291291
# Enter a context with an instance of the API client
292-
with testit_api_client.ApiClient(configuration) as api_client:
292+
with testgear_api_client.ApiClient(configuration) as api_client:
293293
# Create an instance of the API class
294294
api_instance = attachments_api.AttachmentsApi(api_client)
295295
file = open('/path/to/file', 'rb') # file_type | (optional)
@@ -300,7 +300,7 @@ with testit_api_client.ApiClient(configuration) as api_client:
300300
# Upload new attachment file
301301
api_response = api_instance.api_v2_attachments_post(file=file)
302302
pprint(api_response)
303-
except testit_api_client.ApiException as e:
303+
except testgear_api_client.ApiException as e:
304304
print("Exception when calling AttachmentsApi->api_v2_attachments_post: %s\n" % e)
305305
```
306306

0 commit comments

Comments
 (0)