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] Specify requestBody schema for post time entry

Simon Bullikd9dbb63bc669
diff --git a/docs/api/apiv3/paths/time_entries.yml b/docs/api/apiv3/paths/time_entries.yml
index c719af64caf..3b66f27aa37 100644
--- a/docs/api/apiv3/paths/time_entries.yml
+++ b/docs/api/apiv3/paths/time_entries.yml
@@ -98,6 +98,11 @@ post:
Please note that while there is a fixed set of attributes, custom fields can extend
a time entries' attributes and are accepted by the endpoint.
operationId: create_time_entry
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '../components/schemas/time_entry_model.yml'
responses:
'201':
description: Created