add examples for guardians
This commit is contained in:
parent
9ece992428
commit
202144a359
|
@ -199,9 +199,9 @@ paths:
|
||||||
tags:
|
tags:
|
||||||
- Children
|
- Children
|
||||||
parameters:
|
parameters:
|
||||||
- name: childId
|
- name: childSdsId
|
||||||
in: path
|
in: path
|
||||||
description: Child Id (received from /children)
|
description: Child SdsId (received from /children)
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
|
@ -414,6 +414,23 @@ components:
|
||||||
example: "Svensson"
|
example: "Svensson"
|
||||||
guardians:
|
guardians:
|
||||||
type: object
|
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:
|
Notifications:
|
||||||
type: array
|
type: array
|
||||||
|
|
Loading…
Reference in New Issue