From d9dbb63bc6695cdfbea6dbb1bffb85fe7d965014 Mon Sep 17 00:00:00 2001 From: Simon Bullik Date: Sat, 11 May 2024 21:59:16 +0200 Subject: [PATCH] [chore] Specify requestBody schema for post time entry --- docs/api/apiv3/paths/time_entries.yml | 5 +++++ 1 file changed, 5 insertions(+) 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