Skip to content

Commit

Permalink
[PAPI-2062] Add sample response to List hourly absences endpoint for …
Browse files Browse the repository at this point in the history
…providing a non-existing Absence Type Id (#198)

Co-authored-by: Rajkiran <[email protected]>
  • Loading branch information
dinomite94 and rajki authored Oct 9, 2024
1 parent 7a3e609 commit fbd1713
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions personio-personnel-data-api-oa3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2086,6 +2086,24 @@ paths:
problem+json:
schema:
$ref: "#/components/schemas/ErrorResponse"
"404":
description: AbsenceType Not Found
content:
problem+json:
schema:
properties:
success:
type: boolean
example: false
error:
type: object
properties:
code:
type: integer
example: 404
message:
type: string
example: 'models.absence-types.not-found'
"500":
description: Internal server error
content:
Expand Down

0 comments on commit fbd1713

Please sign in to comment.