-
-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathmultioptions.json
More file actions
44 lines (44 loc) · 1.03 KB
/
multioptions.json
File metadata and controls
44 lines (44 loc) · 1.03 KB
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
{
"openapi": "3.1.0",
"info": {
"title": "Multi Option Example",
"version": "0.1.0"
},
"paths": {
"/model/": {
"post": {
"summary": "Create a model with field selection",
"operationId": "create_model_fields_only",
"parameters": [
{
"name": "fields[model]",
"in": "query",
"description": "Specifies which fields should be returned.",
"required": false,
"schema": {
"type": "array",
"items": {
"type": "string",
"enum": [
"componentType",
"count",
"array",
"modelType",
"subModel",
"view",
"name"
]
}
},
"explode": false
}
],
"responses": {
"200": {
"description": "Request accepted with specified fields."
}
}
}
}
}
}