Reference → OIS → v2.3
SearchHighlight.vue
FLEX_START_TAGOIS Template
An OIS (Oracle Integration Specifications) JSON object is part of an Airnode's config.json
file.
In the OIS template, there are some fields that contain <FILL_*>. This means that the value you will be replacing this with is independent from the other fields. On the other hand, if two fields contain the same expression (e.g., <FILL_OPERATION_PARAMETER_1_NAME>
), you must use the same value in them, because they are referencing each other.
The file below is a basic template for OIS. Note, that it might look differently for your particular use case. You can also check out the OISes created for the examples in the Airnode repository.
json
FLEX_END_TAG{
"oisFormat": "2.3.2",
"title": "<FILL_*>",
"version": "<FILL_*>",
"apiSpecifications": {
"servers": [
{
"url": "<FILL_*>"
}
],
"paths": {
"<FILL_PATH>": {
"<FILL_METHOD>": {
"parameters": [
{
"in": "<FILL_OPERATION_PARAMETER_1_IN>",
"name": "<FILL_OPERATION_PARAMETER_1_NAME>"
},
{
"in": "<FILL_OPERATION_PARAMETER_2_IN>",
"name": "<FILL_OPERATION_PARAMETER_2_NAME>"
}
]
}
}
},
"components": {
"securitySchemes": {
"<FILL_SECURITY_SCHEME_NAME>": {
"in": "<FILL_*>",
"type": "<FILL_*>",
"name": "<FILL_*>"
}
}
},
"security": {
"<FILL_SECURITY_SCHEME_NAME>": []
}
},
"endpoints": [
{
"name": "<FILL_*>",
"operation": {
"method": "<FILL_METHOD>",
"path": "<FILL_PATH>"
},
"fixedOperationParameters": [
{
"operationParameter": {
"in": "<FILL_OPERATION_PARAMETER_1_IN>",
"name": "<FILL_OPERATION_PARAMETER_1_NAME>"
},
"value": "<FILL_*>"
}
],
"reservedParameters": [
{
"name": "<FILL_*>"
},
{
"name": "<FILL_*>"
},
{
"name": "<FILL_*>"
},
{
"name": "<FILL_*>"
}
],
"parameters": [
{
"name": "<FILL_*>",
"operationParameter": {
"in": "<FILL_OPERATION_PARAMETER_2_IN>",
"name": "<FILL_OPERATION_PARAMETER_2_NAME>"
}
}
]
}
]
}
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81