Skip to content

Commit f6ec7a8

Browse files
committed
PATCH: fix swagger with project children
1 parent 5608679 commit f6ec7a8

File tree

8 files changed

+8
-380
lines changed

8 files changed

+8
-380
lines changed

.openapi-generator/FILES

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,6 @@ bimdata_api_client/model/project_invitation_request.py
166166
bimdata_api_client/model/project_request.py
167167
bimdata_api_client/model/project_role.py
168168
bimdata_api_client/model/project_size.py
169-
bimdata_api_client/model/project_with_children.py
170169
bimdata_api_client/model/property_definition.py
171170
bimdata_api_client/model/property_definition_request.py
172171
bimdata_api_client/model/property_request.py
@@ -416,7 +415,6 @@ docs/ProjectInvitationRequest.md
416415
docs/ProjectRequest.md
417416
docs/ProjectRole.md
418417
docs/ProjectSize.md
419-
docs/ProjectWithChildren.md
420418
docs/PropertyDefinition.md
421419
docs/PropertyDefinitionRequest.md
422420
docs/PropertyRequest.md
@@ -669,7 +667,6 @@ test/test_project_invitation_request.py
669667
test/test_project_request.py
670668
test/test_project_role.py
671669
test/test_project_size.py
672-
test/test_project_with_children.py
673670
test/test_property_definition.py
674671
test/test_property_definition_request.py
675672
test/test_property_request.py

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,6 @@ Class | Method | HTTP request | Description
653653
- [ProjectRequest](docs/ProjectRequest.md)
654654
- [ProjectRole](docs/ProjectRole.md)
655655
- [ProjectSize](docs/ProjectSize.md)
656-
- [ProjectWithChildren](docs/ProjectWithChildren.md)
657656
- [PropertyDefinition](docs/PropertyDefinition.md)
658657
- [PropertyDefinitionRequest](docs/PropertyDefinitionRequest.md)
659658
- [PropertyRequest](docs/PropertyRequest.md)

bimdata_api_client/api/collaboration_api.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@
6262
from bimdata_api_client.model.project_invitation_request import ProjectInvitationRequest
6363
from bimdata_api_client.model.project_request import ProjectRequest
6464
from bimdata_api_client.model.project_size import ProjectSize
65-
from bimdata_api_client.model.project_with_children import ProjectWithChildren
6665
from bimdata_api_client.model.self_user import SelfUser
6766
from bimdata_api_client.model.size import Size
6867
from bimdata_api_client.model.tag import Tag
@@ -4399,7 +4398,7 @@ def __init__(self, api_client=None):
43994398
)
44004399
self.get_project_endpoint = _Endpoint(
44014400
settings={
4402-
'response_type': (ProjectWithChildren,),
4401+
'response_type': (Project,),
44034402
'auth': [
44044403
'ApiKey',
44054404
'BIMData_Connect',
@@ -8806,7 +8805,7 @@ def create_document(
88068805
):
88078806
"""Create a document # noqa: E501
88088807

8809-
Create a document. If the document is one of {'DXF', 'IFC', 'POINT_CLOUD', 'GLTF', 'DWG', 'OBJ'}, a model will be created and attached to this document Required scopes: document:write # noqa: E501
8808+
Create a document. If the document is one of {'GLTF', 'OBJ', 'IFC', 'DWG', 'DXF', 'POINT_CLOUD'}, a model will be created and attached to this document Required scopes: document:write # noqa: E501
88108809
This method makes a synchronous HTTP request by default. To make an
88118810
asynchronous HTTP request, please pass async_req=True
88128811

@@ -12906,7 +12905,7 @@ def get_project(
1290612905
async_req (bool): execute request asynchronously
1290712906

1290812907
Returns:
12909-
ProjectWithChildren
12908+
Project
1291012909
If the method is called asynchronously, returns the request
1291112910
thread.
1291212911
"""

bimdata_api_client/model/project_with_children.py

Lines changed: 0 additions & 309 deletions
This file was deleted.

bimdata_api_client/models/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@
161161
from bimdata_api_client.model.project_request import ProjectRequest
162162
from bimdata_api_client.model.project_role import ProjectRole
163163
from bimdata_api_client.model.project_size import ProjectSize
164-
from bimdata_api_client.model.project_with_children import ProjectWithChildren
165164
from bimdata_api_client.model.property_definition import PropertyDefinition
166165
from bimdata_api_client.model.property_definition_request import PropertyDefinitionRequest
167166
from bimdata_api_client.model.property_request import PropertyRequest

0 commit comments

Comments
 (0)