Skip to content

Commit

Permalink
Merge pull request #14912 from opf/bug/52962-api-docs-create-work-pac…
Browse files Browse the repository at this point in the history
…kage-in-project-missing-request-body

[#52962] Add request body to API docs for "Create Work package in project"
  • Loading branch information
aaron-contreras authored Mar 4, 2024
2 parents b87fdc2 + 19610ff commit e1ea3c2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/api/apiv3/paths/project_work_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit e1ea3c2

Please sign in to comment.