blob: b1a3169fa619c85a01ae78098aa4462f8d0fc5e5 (
plain) (
blame)
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
|
---
"$schema": "http://json-schema.org/schema#"
id: "opcut://messages.yaml#"
oneOf:
- "$ref": "opcut://messages.yaml#/definitions/calculate/request"
- "$ref": "opcut://messages.yaml#/definitions/calculate/response"
- "$ref": "opcut://messages.yaml#/definitions/generate_output/request"
- "$ref": "opcut://messages.yaml#/definitions/generate_output/response"
definitions:
calculate:
request:
type: object
required:
- params
- method
properties:
params:
"$ref": "opcut://params.yaml#"
method:
enum:
- GREEDY
- FORWARD_GREEDY
response:
type: object
required:
- result
properties:
result:
oneOf:
- type: "null"
- "$ref": "opcut://result.yaml#"
generate_output:
request:
type: object
required:
- result
- output_type
- panel
properties:
result:
"$ref": "opcut://result.yaml#"
output_type:
enum:
- PDF
- SVG
panel:
type:
- "null"
- string
response:
type: object
required:
- data
properties:
result:
type:
- string
- "null"
...
|