[chore] Specify requestBody schema for post time entry

This commit is contained in:
Simon Bullik
2024-05-11 21:59:16 +02:00
committed by Oliver Günther
parent 06039dcbba
commit d9dbb63bc6
+5
View File
@@ -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