From 4bcd6702818aa37c3c26de88070d786e42902448 Mon Sep 17 00:00:00 2001 From: Miguel de Benito Delgado Date: Sat, 26 Feb 2022 11:55:46 +0100 Subject: [PATCH] Fix #101: add missing attribute for department, make required --- personio-personnel-data-api-oa3.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/personio-personnel-data-api-oa3.yaml b/personio-personnel-data-api-oa3.yaml index b0e5205..768d92b 100644 --- a/personio-personnel-data-api-oa3.yaml +++ b/personio-personnel-data-api-oa3.yaml @@ -2489,8 +2489,15 @@ components: example: Department attributes: type: object + required: + - id + - name properties: + id: + type: integer + example: 1 name: + type: string example: Marketing type: $ref: '#/components/schemas/TypeEnum'