add api Method GET on person

This commit is contained in:
2021-05-21 15:46:38 +02:00
parent 8bd75429c1
commit 857298b8b8
4 changed files with 130 additions and 41 deletions

View File

@@ -178,6 +178,30 @@ components:
readOnly: true
paths:
/1.0/person/person/{id}.json:
get:
tags:
- person
summary: Get a single person
parameters:
- name: id
in: path
required: true
description: The person's id
schema:
type: integer
format: integer
minimum: 1
responses:
200:
description: "OK"
content:
application/json:
schema:
$ref: "#/components/schemas/Person"
403:
description: "Unauthorized"
/1.0/person/social-work/social-issue.json:
get:
tags: