Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

[#47121] fixed openapi spec

Eric Schubert542ac8726bc7
diff --git a/docs/api/apiv3/components/schemas/storage_files_model.yml b/docs/api/apiv3/components/schemas/storage_files_model.yml
index 457675d1819..3da4da53d30 100644
--- a/docs/api/apiv3/components/schemas/storage_files_model.yml
+++ b/docs/api/apiv3/components/schemas/storage_files_model.yml
@@ -24,18 +24,8 @@ properties:
ancestors:
type: array
items:
- type: object
- description: List of ancestors of the parent directory. Can be empty, if parent directory was root directory.
- required:
- - name
- - location
- properties:
- name:
- type: string
- description: The name of the ancestor file in storage
- location:
- type: string
- description: Location identification for file in storage
+ $ref: './storage_file_model.yml'
+ description: List of ancestors of the parent directory. Can be empty, if parent directory was root directory.
_links:
type: object
required:
@@ -90,6 +80,7 @@ example:
_links:
self:
href: 'urn:openproject-org:api:v3:storages:storage_file:no_link_provided'
+ ancestors: []
_links:
self:
href: 'urn:openproject-org:api:v3:storages:storage_file:no_link_provided'