@@ -295,7 +295,7 @@ type RobotCommentInput struct {
295295 Properties * map [string ]* string `json:"properties,omitempty"`
296296 // Suggested fixes for this robot comment as a list of FixSuggestionInfo
297297 // entities.
298- FixSuggestions * FixSuggestionInfo `json:"fix_suggestions,omitempty"`
298+ FixSuggestions [] FixSuggestionInfo `json:"fix_suggestions,omitempty"`
299299}
300300
301301// RobotCommentInfo entity contains information about a robot inline comment
@@ -314,7 +314,7 @@ type RobotCommentInfo struct {
314314 Properties map [string ]string `json:"properties,omitempty"`
315315 // Suggested fixes for this robot comment as a list of FixSuggestionInfo
316316 // entities.
317- FixSuggestions * FixSuggestionInfo `json:"fix_suggestions,omitempty"`
317+ FixSuggestions [] FixSuggestionInfo `json:"fix_suggestions,omitempty"`
318318}
319319
320320// FixSuggestionInfo entity represents a suggested fix.
@@ -328,7 +328,7 @@ type FixSuggestionInfo struct {
328328 // A list of FixReplacementInfo entities indicating how the content of one or
329329 // several files should be modified. Within a file, they should refer to
330330 // non-overlapping regions.
331- Replacements FixReplacementInfo `json:"replacements"`
331+ Replacements [] FixReplacementInfo `json:"replacements"`
332332}
333333
334334// FixReplacementInfo entity describes how the content of a file should be replaced by another content.
@@ -345,7 +345,7 @@ type FixReplacementInfo struct {
345345 Range CommentRange `json:"range"`
346346
347347 // The content which should be used instead of the current one.
348- Replacement string `json:"replacement,omitempty "`
348+ Replacement string `json:"replacement"`
349349}
350350
351351// AttentionSetInfo entity contains details of users that are in the attention set.
0 commit comments