Skip to content

Commit

Permalink
[chore] Specify requestBody schema for post time entry
Browse files Browse the repository at this point in the history
  • Loading branch information
sbu-WBT authored and oliverguenther committed May 13, 2024
1 parent 06039dc commit d9dbb63
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/api/apiv3/paths/time_entries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d9dbb63

Please sign in to comment.