blob: 44b8c3ab214f4ba52a5b3c88f9a4618219939952 (
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
|
---
"$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
properties:
result:
"$ref": "opcut://result.yaml#"
output_type:
enum:
- PDF
response:
type: object
required:
- data
properties:
result:
type:
- string
- "null"
...
|