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

[#62982] add wp model schema documentation

Tobias Dillmann95811dbe467f
diff --git a/docs/api/apiv3/components/schemas/work_package_model.yml b/docs/api/apiv3/components/schemas/work_package_model.yml
index 3f320bf7fa6..49eb1291bfd 100644
--- a/docs/api/apiv3/components/schemas/work_package_model.yml
+++ b/docs/api/apiv3/components/schemas/work_package_model.yml
@@ -433,6 +433,13 @@ properties:
The project phase to which the work package belongs
**Resource**: ProjectPhase
+ projectPhaseDefinition:
+ allOf:
+ - $ref: "./link.yml"
+ - description: |-
+ The definition of the project phase the work package belongs to
+
+ **Resource**: ProjectPhaseDefinition
responsible:
allOf:
- $ref: "./link.yml"
diff --git a/docs/api/apiv3/components/schemas/work_package_schema_model.yml b/docs/api/apiv3/components/schemas/work_package_schema_model.yml
index 302cf923d33..33685b02a97 100644
--- a/docs/api/apiv3/components/schemas/work_package_schema_model.yml
+++ b/docs/api/apiv3/components/schemas/work_package_schema_model.yml
@@ -66,6 +66,8 @@ properties:
$ref: './schema_property_model.yml'
projectPhase:
$ref: './schema_property_model.yml'
+ projectPhaseDefinition:
+ $ref: './schema_property_model.yml'
parent:
$ref: './schema_property_model.yml'
assignee: