Skip to content

Commit 2cdf4f4

Browse files
committed
Merge branch 'release/2020-03-p1'
2 parents 5bbd9e4 + 8017231 commit 2cdf4f4

File tree

9 files changed

+18
-18
lines changed

9 files changed

+18
-18
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ REST/HTTP binding (PSM) for the SysML v2 standard API.
44
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
55

66
- API version: 1.0.0
7-
- Package version: 2020-03
7+
- Package version: 2020-03-p1
88
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
99

1010
## Requirements.

docs/CommitApi.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ commit_id = 'commit_id_example' # str | ID of the commit
4343

4444
Name | Type | Description | Notes
4545
------------- | ------------- | ------------- | -------------
46-
**project_id** | **str**| ID of the project |
47-
**commit_id** | **str**| ID of the commit |
46+
**project_id** | [**str**](.md)| ID of the project |
47+
**commit_id** | [**str**](.md)| ID of the commit |
4848

4949
### Return type
5050

@@ -71,7 +71,7 @@ No authorization required
7171
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
7272

7373
# **get_commits_by_project**
74-
> Commit get_commits_by_project(project_id)
74+
> list[Commit] get_commits_by_project(project_id)
7575
7676
Get commits by project
7777

@@ -106,7 +106,7 @@ Name | Type | Description | Notes
106106

107107
### Return type
108108

109-
[**Commit**](Commit.md)
109+
[**list[Commit]**](Commit.md)
110110

111111
### Authorization
112112

@@ -160,7 +160,7 @@ with sysml_v2_api_client.ApiClient() as api_client:
160160

161161
Name | Type | Description | Notes
162162
------------- | ------------- | ------------- | -------------
163-
**project_id** | **str**| ID of the project |
163+
**project_id** | [**str**](.md)| ID of the project |
164164

165165
### Return type
166166

docs/ElementApi.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ No authorization required
7171
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
7272

7373
# **get_elements_by_project_commit**
74-
> Element get_elements_by_project_commit(project_id, commit_id)
74+
> list[Element] get_elements_by_project_commit(project_id, commit_id)
7575
7676
Get elements by project and commit
7777

@@ -108,7 +108,7 @@ Name | Type | Description | Notes
108108

109109
### Return type
110110

111-
[**Element**](Element.md)
111+
[**list[Element]**](Element.md)
112112

113113
### Authorization
114114

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from setuptools import setup, find_packages # noqa: H301
1414

1515
NAME = "sysml-v2-api-client"
16-
VERSION = "2020-03"
16+
VERSION = "2020-03-p1"
1717
# To install the library, run the following
1818
#
1919
# python setup.py install

sysml_v2_api_client/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
from __future__ import absolute_import
1616

17-
__version__ = "2020-03"
17+
__version__ = "2020-03-p1"
1818

1919
# import apis into sdk package
2020
from sysml_v2_api_client.api.commit_api import CommitApi

sysml_v2_api_client/api/commit_api.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def get_commits_by_project(self, project_id, **kwargs): # noqa: E501
167167
number provided, it will be total request
168168
timeout. It can also be a pair (tuple) of
169169
(connection, read) timeouts.
170-
:return: Commit
170+
:return: list[Commit]
171171
If the method is called asynchronously,
172172
returns the request thread.
173173
"""
@@ -193,7 +193,7 @@ def get_commits_by_project_with_http_info(self, project_id, **kwargs): # noqa:
193193
number provided, it will be total request
194194
timeout. It can also be a pair (tuple) of
195195
(connection, read) timeouts.
196-
:return: tuple(Commit, status_code(int), headers(HTTPHeaderDict))
196+
:return: tuple(list[Commit], status_code(int), headers(HTTPHeaderDict))
197197
If the method is called asynchronously,
198198
returns the request thread.
199199
"""
@@ -248,7 +248,7 @@ def get_commits_by_project_with_http_info(self, project_id, **kwargs): # noqa:
248248
body=body_params,
249249
post_params=form_params,
250250
files=local_var_files,
251-
response_type='Commit', # noqa: E501
251+
response_type='list[Commit]', # noqa: E501
252252
auth_settings=auth_settings,
253253
async_req=local_var_params.get('async_req'),
254254
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501

sysml_v2_api_client/api/element_api.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def get_elements_by_project_commit(self, project_id, commit_id, **kwargs): # no
176176
number provided, it will be total request
177177
timeout. It can also be a pair (tuple) of
178178
(connection, read) timeouts.
179-
:return: Element
179+
:return: list[Element]
180180
If the method is called asynchronously,
181181
returns the request thread.
182182
"""
@@ -203,7 +203,7 @@ def get_elements_by_project_commit_with_http_info(self, project_id, commit_id, *
203203
number provided, it will be total request
204204
timeout. It can also be a pair (tuple) of
205205
(connection, read) timeouts.
206-
:return: tuple(Element, status_code(int), headers(HTTPHeaderDict))
206+
:return: tuple(list[Element], status_code(int), headers(HTTPHeaderDict))
207207
If the method is called asynchronously,
208208
returns the request thread.
209209
"""
@@ -264,7 +264,7 @@ def get_elements_by_project_commit_with_http_info(self, project_id, commit_id, *
264264
body=body_params,
265265
post_params=form_params,
266266
files=local_var_files,
267-
response_type='Element', # noqa: E501
267+
response_type='list[Element]', # noqa: E501
268268
auth_settings=auth_settings,
269269
async_req=local_var_params.get('async_req'),
270270
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501

sysml_v2_api_client/api_client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
7878
self.default_headers[header_name] = header_value
7979
self.cookie = cookie
8080
# Set default User-Agent.
81-
self.user_agent = 'OpenAPI-Generator/2020-03/python'
81+
self.user_agent = 'OpenAPI-Generator/2020-03-p1/python'
8282
self.client_side_validation = configuration.client_side_validation
8383

8484
def __enter__(self):

sysml_v2_api_client/configuration.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ def to_debug_report(self):
329329
"OS: {env}\n"\
330330
"Python Version: {pyversion}\n"\
331331
"Version of the API: 1.0.0\n"\
332-
"SDK Package Version: 2020-03".\
332+
"SDK Package Version: 2020-03-p1".\
333333
format(env=sys.platform, pyversion=sys.version)
334334

335335
def get_host_settings(self):

0 commit comments

Comments
 (0)