UNPKG

726 BJSONView Raw
1{
2 "tags": ["Headings"],
3 "description": "=> headingPostDescription(headingName)",
4 "security": "=> auth()",
5 "produces": "=> json()",
6 "parameters": [
7 {
8 "name": "patientId",
9 "in": "path",
10 "description": "Patient Id",
11 "required": true,
12 "type": "string"
13 },
14 {
15 "in": "body",
16 "name": "body",
17 "description": "Body Payload containing heading data",
18 "required": true,
19 "schema": "=> headingPostSchema(headingName)"
20 }
21 ],
22 "responses": {
23 "200": "=> get('response200.json', 'desc', 'Confirmation that data has been saved', 'ref', 'headingPostResponse')",
24 "403": "=> get('response403.json')"
25 }
26}