File tree Expand file tree Collapse file tree 5 files changed +28
-10
lines changed Expand file tree Collapse file tree 5 files changed +28
-10
lines changed Original file line number Diff line number Diff line change 59
59
"items" : {
60
60
"$ref" : " #/definitions/reviewdog.rdf.RelatedLocation"
61
61
},
62
- "type" : " array"
62
+ "type" : " array" ,
63
+ "description" : " Related locations for this diagnostic. Optional."
63
64
}
64
65
},
65
66
"additionalProperties" : true ,
134
135
"reviewdog.rdf.RelatedLocation" : {
135
136
"properties" : {
136
137
"message" : {
137
- "type" : " string"
138
+ "type" : " string" ,
139
+ "description" : " Explanation of this related location. Optional."
138
140
},
139
141
"location" : {
140
142
"$ref" : " #/definitions/reviewdog.rdf.Location" ,
141
- "additionalProperties" : true
143
+ "additionalProperties" : true ,
144
+ "description" : " Required."
142
145
}
143
146
},
144
147
"additionalProperties" : true ,
Original file line number Diff line number Diff line change 114
114
"items" : {
115
115
"$ref" : " #/definitions/reviewdog.rdf.RelatedLocation"
116
116
},
117
- "type" : " array"
117
+ "type" : " array" ,
118
+ "description" : " Related locations for this diagnostic. Optional."
118
119
}
119
120
},
120
121
"additionalProperties" : true ,
174
175
"reviewdog.rdf.RelatedLocation" : {
175
176
"properties" : {
176
177
"message" : {
177
- "type" : " string"
178
+ "type" : " string" ,
179
+ "description" : " Explanation of this related location. Optional."
178
180
},
179
181
"location" : {
180
182
"$ref" : " #/definitions/reviewdog.rdf.Location" ,
181
- "additionalProperties" : true
183
+ "additionalProperties" : true ,
184
+ "description" : " Required."
182
185
}
183
186
},
184
187
"additionalProperties" : true ,
Original file line number Diff line number Diff line change 5
5
"RelatedLocation" : {
6
6
"properties" : {
7
7
"message" : {
8
- "type" : " string"
8
+ "type" : " string" ,
9
+ "description" : " Explanation of this related location. Optional."
9
10
},
10
11
"location" : {
11
12
"$ref" : " #/definitions/reviewdog.rdf.Location" ,
12
- "additionalProperties" : true
13
+ "additionalProperties" : true ,
14
+ "description" : " Required."
13
15
}
14
16
},
15
17
"additionalProperties" : true ,
Original file line number Diff line number Diff line change @@ -65,6 +65,8 @@ message Diagnostic {
65
65
// Optional.
66
66
string original_output = 7 ;
67
67
68
+ // Related locations for this diagnostic.
69
+ // Optional.
68
70
repeated RelatedLocation related_locations = 8 ;
69
71
}
70
72
@@ -85,8 +87,11 @@ message Location {
85
87
}
86
88
87
89
message RelatedLocation {
90
+ // Explanation of this related location.
91
+ // Optional.
88
92
string message = 1 ;
89
93
94
+ // Required.
90
95
Location location = 2 ;
91
96
}
92
97
You can’t perform that action at this time.
0 commit comments