Discussions
Wrong schema for Post Response for the endpoint /company/time-offs
about 1 year ago by Michael Diesen
Hey Personio Dev Team,
I got another defect in your API definition:
responses:
"200":
description: The absence period is successfully created
content:
application/json:
schema:
type: object
properties:
data:
$ref: "#/components/schemas/AbsencePeriodResponse"
This has to be:
responses:
"200":
description: The absence period is successfully created
content:
application/json:
schema:
$ref: "#/components/schemas/AbsencePeriodResponse"
Please correct this error.
Thanks.