Skip to content

Commit

Permalink
PATCH: fix openAPI definition of getProjectFolderTree
Browse files Browse the repository at this point in the history
  • Loading branch information
Bimdata-io committed Dec 20, 2023
1 parent c88cf8e commit ed5e2d5
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 345 deletions.
3 changes: 0 additions & 3 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ bimdata_api_client/model/processor_handler.py
bimdata_api_client/model/project.py
bimdata_api_client/model/project_access_token.py
bimdata_api_client/model/project_access_token_request.py
bimdata_api_client/model/project_folder_tree.py
bimdata_api_client/model/project_import_request.py
bimdata_api_client/model/project_invitation.py
bimdata_api_client/model/project_invitation_request.py
Expand Down Expand Up @@ -407,7 +406,6 @@ docs/ProcessorHandler.md
docs/Project.md
docs/ProjectAccessToken.md
docs/ProjectAccessTokenRequest.md
docs/ProjectFolderTree.md
docs/ProjectImportRequest.md
docs/ProjectInvitation.md
docs/ProjectInvitationRequest.md
Expand Down Expand Up @@ -658,7 +656,6 @@ test/test_processor_handler.py
test/test_project.py
test/test_project_access_token.py
test/test_project_access_token_request.py
test/test_project_folder_tree.py
test/test_project_import_request.py
test/test_project_invitation.py
test/test_project_invitation_request.py
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,6 @@ Class | Method | HTTP request | Description
- [Project](docs/Project.md)
- [ProjectAccessToken](docs/ProjectAccessToken.md)
- [ProjectAccessTokenRequest](docs/ProjectAccessTokenRequest.md)
- [ProjectFolderTree](docs/ProjectFolderTree.md)
- [ProjectImportRequest](docs/ProjectImportRequest.md)
- [ProjectInvitation](docs/ProjectInvitation.md)
- [ProjectInvitationRequest](docs/ProjectInvitationRequest.md)
Expand Down
8 changes: 4 additions & 4 deletions bimdata_api_client/api/collaboration_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
from bimdata_api_client.model.document import Document
from bimdata_api_client.model.document_preview_file import DocumentPreviewFile
from bimdata_api_client.model.folder import Folder
from bimdata_api_client.model.folder_tree import FolderTree
from bimdata_api_client.model.folder_user_project import FolderUserProject
from bimdata_api_client.model.folder_without_children import FolderWithoutChildren
from bimdata_api_client.model.folder_without_children_request import FolderWithoutChildrenRequest
Expand All @@ -55,7 +56,6 @@
from bimdata_api_client.model.project import Project
from bimdata_api_client.model.project_access_token import ProjectAccessToken
from bimdata_api_client.model.project_access_token_request import ProjectAccessTokenRequest
from bimdata_api_client.model.project_folder_tree import ProjectFolderTree
from bimdata_api_client.model.project_import_request import ProjectImportRequest
from bimdata_api_client.model.project_invitation import ProjectInvitation
from bimdata_api_client.model.project_invitation_request import ProjectInvitationRequest
Expand Down Expand Up @@ -4587,7 +4587,7 @@ def __init__(self, api_client=None):
)
self.get_project_folder_tree_endpoint = _Endpoint(
settings={
'response_type': ([ProjectFolderTree],),
'response_type': ([FolderTree],),
'auth': [
'ApiKey',
'BIMData_Connect',
Expand Down Expand Up @@ -8678,7 +8678,7 @@ def create_document(
):
"""Create a document # noqa: E501

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

Expand Down Expand Up @@ -13102,7 +13102,7 @@ def get_project_folder_tree(
async_req (bool): execute request asynchronously

Returns:
[ProjectFolderTree]
[FolderTree]
If the method is called asynchronously, returns the request
thread.
"""
Expand Down
280 changes: 0 additions & 280 deletions bimdata_api_client/model/project_folder_tree.py

This file was deleted.

1 change: 0 additions & 1 deletion bimdata_api_client/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@
from bimdata_api_client.model.project import Project
from bimdata_api_client.model.project_access_token import ProjectAccessToken
from bimdata_api_client.model.project_access_token_request import ProjectAccessTokenRequest
from bimdata_api_client.model.project_folder_tree import ProjectFolderTree
from bimdata_api_client.model.project_import_request import ProjectImportRequest
from bimdata_api_client.model.project_invitation import ProjectInvitation
from bimdata_api_client.model.project_invitation_request import ProjectInvitationRequest
Expand Down
8 changes: 4 additions & 4 deletions docs/CollaborationApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -1540,7 +1540,7 @@ Name | Type | Description | Notes

Create a document

Create a document. If the document is one of {'OBJ', 'POINT_CLOUD', 'IFC', 'GLTF', 'DWG', 'DXF'}, a model will be created and attached to this document Required scopes: document:write
Create a document. If the document is one of {'DWG', 'IFC', 'GLTF', 'POINT_CLOUD', 'OBJ', 'DXF'}, a model will be created and attached to this document Required scopes: document:write

### Example

Expand Down Expand Up @@ -7171,7 +7171,7 @@ Name | Type | Description | Notes
[[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)

# **get_project_folder_tree**
> [ProjectFolderTree] get_project_folder_tree(cloud_pk, id)
> [FolderTree] get_project_folder_tree(cloud_pk, id)

Retrieve folder tree of the project

Expand All @@ -7188,7 +7188,7 @@ Retrieve folder tree of the project
import time
import bimdata_api_client
from bimdata_api_client.api import collaboration_api
from bimdata_api_client.model.project_folder_tree import ProjectFolderTree
from bimdata_api_client.model.folder_tree import FolderTree
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
Expand Down Expand Up @@ -7251,7 +7251,7 @@ Name | Type | Description | Notes

### Return type

[**[ProjectFolderTree]**](ProjectFolderTree.md)
[**[FolderTree]**](FolderTree.md)

### Authorization

Expand Down
Loading

0 comments on commit ed5e2d5

Please sign in to comment.