Skip to content

Commit

Permalink
[bugfix]Replace schema "{key1:value1}" to "{\"key1\":\"value1\"}" (#1245
Browse files Browse the repository at this point in the history
)
  • Loading branch information
zqr10159 authored Sep 12, 2023
1 parent 7182796 commit e8bf039
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ public class AlertReport {
private Integer reportType;

@Schema(title = "Alarm tag information", description = "告警标签信息((monitorId:xxx,monitorName:xxx))",
example = "{key1:value1}", accessMode = READ_WRITE)
example = "{\"key1\":\"value1\"}", accessMode = READ_WRITE)
private Map<String, String> labels;

@Schema(title = " Alarm marking (monitorId:xxx,monitorName:xxx)", description = "告警标注", example = "{key1:value1}"
@Schema(title = " Alarm marking (monitorId:xxx,monitorName:xxx)", description = "告警标注", example ="{\"key1\":\"value1\"}"
, accessMode = READ_WRITE)
private Map<String, String> annotations;

Expand Down

0 comments on commit e8bf039

Please sign in to comment.