bugfix guardian

This commit is contained in:
Christian Landgren 2020-12-15 03:19:51 +01:00
parent 202144a359
commit c40fe8e073
1 changed files with 23 additions and 18 deletions

View File

@ -413,24 +413,29 @@ components:
type: string
example: "Svensson"
guardians:
type: object
properties:
email:
type: string
format: email
example: allan@svensson.se
firstname:
type: string
example: Allan
lastname:
type: string
example: Svensson
mobile:
type: string
example: 070-13372121
address:
type: string
example: Vallebyvägen 13b, lgh 223A
type: array
items:
$ref: "#/components/schemas/Guardian"
Guardian:
type: object
properties:
email:
type: string
format: email
example: allan@svensson.se
firstname:
type: string
example: Allan
lastname:
type: string
example: Svensson
mobile:
type: string
example: 070-13372121
address:
type: string
example: Vallebyvägen 13b, lgh 223A
Notifications:
type: array