@@ -20,6 +20,7 @@ output:
20
20
$ref : ' ../input/clear'
21
21
22
22
dump :
23
+ id : ' output/dump'
23
24
allOf :
24
25
- $ref : ' /shared/message'
25
26
- properties :
@@ -31,9 +32,7 @@ output:
31
32
required : ['graph', 'type', 'flowtrace']
32
33
additionalProperties : false
33
34
properties :
34
- graph :
35
- description : Graph identifier for network to trace
36
- type : string
35
+ graph : { $ref: '/shared/graph_id' }
37
36
type :
38
37
description : String describing type of trace.
39
38
type : string
@@ -57,12 +56,8 @@ input:
57
56
required : ['secret', 'graph']
58
57
additionalProperties : false
59
58
properties :
60
- secret :
61
- description : access token to authorize the user
62
- type : string
63
- graph :
64
- description : Graph identifier for network to trace
65
- type : string
59
+ secret : { $ref: '/shared/secret' }
60
+ graph : { $ref: '/shared/graph_id' }
66
61
buffersize :
67
62
description : ' (optional) Size of tracing buffer to keep. In bytes'
68
63
type : integer
81
76
required : ['secret', 'graph']
82
77
additionalProperties : false
83
78
properties :
84
- secret : access token to authorize the user
85
- graph : Graph identifier for network to trace
79
+ secret : { $ref: '/shared/secret' }
80
+ graph : { $ref: '/shared/graph_id' }
86
81
87
82
dump :
88
83
description : ' Trigger dumping of the current tracing buffer, to return it back to server.'
98
93
required : ['secret', 'graph', 'type']
99
94
additionalProperties : false
100
95
properties :
101
- secret : access token to authorize the user
102
- graph : Graph identifier for network to trace
96
+ secret : { $ref: '/shared/secret' }
97
+ graph : { $ref: '/shared/graph_id' }
103
98
type :
104
99
description : Type/format of trace to output
105
100
type : string
@@ -117,6 +112,7 @@ input:
117
112
enum : ['clear']
118
113
payload :
119
114
required : ['secret', 'graph']
115
+ additionalProperties : false
120
116
properties :
121
- secret : access token to authorize the user
122
- graph : Graph identifier for network to trace
117
+ secret : { $ref: '/shared/secret' }
118
+ graph : { $ref: '/shared/graph_id' }
0 commit comments