mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
Fix bug posting birth- and deathdate
This commit is contained in:
@@ -353,6 +353,19 @@ paths:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/Person"
|
||||
examples:
|
||||
Update a person:
|
||||
value:
|
||||
type: "person"
|
||||
firstName: "string"
|
||||
lastName: "string"
|
||||
birthdate:
|
||||
datetime: "2016-06-01T00:00:00+02:00"
|
||||
deathdate:
|
||||
datetime: "2021-06-01T00:00:00+02:00"
|
||||
phonenumber: "string"
|
||||
mobilenumber: "string"
|
||||
gender: "male"
|
||||
responses:
|
||||
401:
|
||||
description: "Unauthorized"
|
||||
@@ -375,6 +388,19 @@ paths:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/Person"
|
||||
examples:
|
||||
Create a new person:
|
||||
value:
|
||||
type: "person"
|
||||
firstName: "string"
|
||||
lastName: "string"
|
||||
birthdate:
|
||||
datetime: "2016-06-01T00:00:00+02:00"
|
||||
deathdate:
|
||||
datetime: "2021-06-01T00:00:00+02:00"
|
||||
phonenumber: "string"
|
||||
mobilenumber: "string"
|
||||
gender: "male"
|
||||
responses:
|
||||
200:
|
||||
description: "OK"
|
||||
|
Reference in New Issue
Block a user