-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathFieldOrder.json
More file actions
55 lines (55 loc) · 2.08 KB
/
Copy pathFieldOrder.json
File metadata and controls
55 lines (55 loc) · 2.08 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
45
46
47
48
49
50
51
52
53
54
55
{
"openapi": "3.0.0",
"info": {
"title": "Topvisor/FieldOrder",
"version": "2.0.0"
},
"paths": {},
"components": {
"schemas": {
"FieldOrder": {
"type": "object",
"properties": {
"name": {
"title": "Имя поля",
"type": "string"
},
"direction": {
"title": "Оператор сравнения",
"default": "ASC",
"allOf": [
{
"$ref": "FieldDirection.json#/components/schemas/FieldDirection"
}
]
},
"orderValues": {
"title": "Список значений поля, для ручной сортировки",
"nullable": true,
"type": "array"
},
"operator": {
"title": "Оператор сравнения",
"nullable": true,
"allOf": [
{
"$ref": "FieldOperator.json#/components/schemas/FieldOperator"
}
]
},
"values": {
"title": "Значения для сравенния",
"description": "В зависимости от типа условия оно может иметь разное количество значений\n\nОбычно оно имеет только одно значение",
"nullable": true,
"type": "array"
}
},
"required": [
"name",
"direction"
],
"title": "Поле сортировки"
}
}
}
}