Skip to content

Commit 70d05bd

Browse files
authored
Merge pull request #102 from mdbenito/fix/department-type
Fix #101: add missing attribute for department, make required
2 parents 77fe42e + 4bcd670 commit 70d05bd

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

personio-personnel-data-api-oa3.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2489,8 +2489,15 @@ components:
24892489
example: Department
24902490
attributes:
24912491
type: object
2492+
required:
2493+
- id
2494+
- name
24922495
properties:
2496+
id:
2497+
type: integer
2498+
example: 1
24932499
name:
2500+
type: string
24942501
example: Marketing
24952502
type:
24962503
$ref: '#/components/schemas/TypeEnum'

0 commit comments

Comments
 (0)