From dda569c6466ea319a0a5da0a41954301fa4c3daf Mon Sep 17 00:00:00 2001 From: ArcturusZhang Date: Tue, 20 Apr 2021 16:35:32 +0800 Subject: [PATCH] now breaking change items will have empty array if there is not any --- tools/generator/pipeline/model.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/generator/pipeline/model.go b/tools/generator/pipeline/model.go index 577b5aae5c2e..51ec5ee79f9b 100644 --- a/tools/generator/pipeline/model.go +++ b/tools/generator/pipeline/model.go @@ -85,8 +85,8 @@ type PackageResult struct { // Changelog ... type Changelog struct { - Content *string `json:"content,omitempty"` - HasBreakingChange *bool `json:"hasBreakingChange,omitempty"` + Content *string `json:"content,omitempty"` + HasBreakingChange *bool `json:"hasBreakingChange,omitempty"` BreakingChangeItems *[]string `json:"breakingChangeItems,omitempty"` }