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

[chore] amend api docs with correct folder mimetype

Eric Schubert441145f295cd
diff --git a/docs/api/apiv3/components/schemas/file_link_origin_data_model.yml b/docs/api/apiv3/components/schemas/file_link_origin_data_model.yml
index 9d0f87d6fee..d4df2818a9d 100644
--- a/docs/api/apiv3/components/schemas/file_link_origin_data_model.yml
+++ b/docs/api/apiv3/components/schemas/file_link_origin_data_model.yml
@@ -17,7 +17,7 @@ properties:
description: |-
MIME type of the linked file.
- To link a folder entity, the custom MIME type `inode/directory` MUST be provided. Otherwise it defaults back to
+ To link a folder entity, the custom MIME type `application/x-op-directory` MUST be provided. Otherwise it defaults back to
an unknown MIME type.
size:
type: integer
diff --git a/docs/api/apiv3/paths/work_package_file_links.yml b/docs/api/apiv3/paths/work_package_file_links.yml
index dc7fbd52335..a7299f5b9f6 100644
--- a/docs/api/apiv3/paths/work_package_file_links.yml
+++ b/docs/api/apiv3/paths/work_package_file_links.yml
@@ -15,7 +15,7 @@ post:
The file's id and name are considered mandatory information. The rest of the origin meta data SHOULD be provided
by the client. The _mimeType_ SHOULD be a standard mime type. An empty mime type will be handled as unknown. To link
- a folder, the custom mime type `inode/directory` MUST be used.
+ a folder, the custom mime type `application/x-op-directory` MUST be used.
Up to 20 file links can be submitted at once.