-
Notifications
You must be signed in to change notification settings - Fork 1
/
gravitate-health-focusing-interface-oapi.yml
64 lines (64 loc) · 1.6 KB
/
gravitate-health-focusing-interface-oapi.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
openapi: 3.0.0
info:
title: Gravitate Health Focusing Interface
version: 0.0.1
description: Interface detailing the methods available for focusing
contact:
name: Álvaro Belmar
email: [email protected]
paths:
/med-information-focus:
post:
tags:
- Medication Information Focusing
responses:
'200':
description: Medication Information Focusing endpoint
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/MedInformationBundle'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/MedInformationBundle'
servers:
- url: http://127.0.0.1:3000
components:
schemas:
MedInformation:
title: MedInformation
type: object
properties:
id:
type: number
identifier:
type: string
code: {}
status:
type: string
marketingAuthorizationHolder: {}
doseForm: {}
totalVolume: {}
ingredient:
type: array
items:
type: object
batch: {}
required:
- id
- identifier
- status
additionalProperties: false
MedInformationBundle:
title: MedInformationBundle
allOf:
- $ref: '#/components/schemas/MedInformation'
- type: object
properties:
IPS:
type: object
additionalProperties: false