From 19610ffb74373e7504d2d2e4532656ccf60fa874 Mon Sep 17 00:00:00 2001 From: Aaron Contreras Date: Mon, 4 Mar 2024 11:26:01 -0500 Subject: [PATCH] Add request body to API docs for "Create Work package in project" --- docs/api/apiv3/paths/project_work_packages.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/api/apiv3/paths/project_work_packages.yml b/docs/api/apiv3/paths/project_work_packages.yml index 4975802c7a1d..93a28089ccbe 100644 --- a/docs/api/apiv3/paths/project_work_packages.yml +++ b/docs/api/apiv3/paths/project_work_packages.yml @@ -120,6 +120,11 @@ post: When calling this endpoint the client provides a single object, containing at least the properties and links that are required, in the body. The required fields of a WorkPackage can be found in its schema, which is embedded in the respective form. Note that it is only allowed to provide properties or links supporting the write operation. + requestBody: + content: + application/json: + schema: + $ref: '../components/schemas/work_package_model.yml' parameters: - description: Project id example: '1'