Discussions

Ask a Question
Back to All

Personnel Data API reponse does not match specification?

Hi,

we are using the Personnel Data API as specified here: https://github.com/personio/api-docs/blob/master/personio-personnel-data-api-oa3.yaml

The POST request for /company/time-offs (line: 1529) specifies a response that does not match the actual response of the API. The spec wraps the actual response in an additional data field (line: 1556). This looks unusual and we assume it is a mistake. We now patched our copy of the spec to make it work with the OpenAPI client generator.

Can you confirm that this is a mistake in the spec?

Regards

Axel