Skip to content

Commit 5286df0

Browse files
author
Sentio Bot
committed
chore: update
1 parent 861ad41 commit 5286df0

9 files changed

+78
-82
lines changed

doc/index.html

Lines changed: 64 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -919,7 +919,6 @@
919919
}
920920
};
921921
defs["alert_service.AlertRule"] = {
922-
"title" : "maybe need to extract to common so it could used by web as well",
923922
"type" : "object",
924923
"properties" : {
925924
"id" : {
@@ -994,7 +993,70 @@
994993
"type" : "object",
995994
"properties" : {
996995
"rule" : {
997-
"$ref" : "#/components/schemas/maybe_need_to_extract_to_common_so_it_could_used_by_web_as_well"
996+
"$ref" : "#/components/schemas/alert_service_AlertService_SaveAlertRuleBody_rule"
997+
}
998+
}
999+
};
1000+
defs["alert_service_AlertService_SaveAlertRuleBody_rule"] = {
1001+
"type" : "object",
1002+
"properties" : {
1003+
"projectId" : {
1004+
"title" : "project it belongs to",
1005+
"type" : "string"
1006+
},
1007+
"state" : {
1008+
"$ref" : "#/components/schemas/alert_service.AlertRule.State"
1009+
},
1010+
"subject" : {
1011+
"type" : "string"
1012+
},
1013+
"message" : {
1014+
"type" : "string"
1015+
},
1016+
"group" : {
1017+
"type" : "string"
1018+
},
1019+
"query" : {
1020+
"type" : "string"
1021+
},
1022+
"for" : {
1023+
"$ref" : "#/components/schemas/common.Duration"
1024+
},
1025+
"channels" : {
1026+
"type" : "array",
1027+
"items" : {
1028+
"$ref" : "#/components/schemas/common.Channel"
1029+
}
1030+
},
1031+
"updateTime" : {
1032+
"type" : "string",
1033+
"format" : "date-time"
1034+
},
1035+
"condition" : {
1036+
"$ref" : "#/components/schemas/alert_service.Condition"
1037+
},
1038+
"renotifyDuration" : {
1039+
"$ref" : "#/components/schemas/common.Duration"
1040+
},
1041+
"renotifyLimit" : {
1042+
"type" : "integer",
1043+
"format" : "int32"
1044+
},
1045+
"alertType" : {
1046+
"$ref" : "#/components/schemas/alert_service.AlertType"
1047+
},
1048+
"logCondition" : {
1049+
"$ref" : "#/components/schemas/alert_service.LogCondition"
1050+
},
1051+
"lastQueryTime" : {
1052+
"type" : "string",
1053+
"format" : "date-time"
1054+
},
1055+
"mute" : {
1056+
"type" : "boolean"
1057+
},
1058+
"interval" : {
1059+
"$ref" : "#/components/schemas/common.Duration"
9981060
}
9991061
}
10001062
};
@@ -3385,70 +3447,6 @@
33853447
"type" : "string"
33863448
}
33873449
}
3388-
};
3389-
defs["maybe_need_to_extract_to_common_so_it_could_used_by_web_as_well"] = {
3390-
"title" : "maybe need to extract to common so it could used by web as well",
3391-
"type" : "object",
3392-
"properties" : {
3393-
"projectId" : {
3394-
"title" : "project it belongs to",
3395-
"type" : "string"
3396-
},
3397-
"state" : {
3398-
"$ref" : "#/components/schemas/alert_service.AlertRule.State"
3399-
},
3400-
"subject" : {
3401-
"type" : "string"
3402-
},
3403-
"message" : {
3404-
"type" : "string"
3405-
},
3406-
"group" : {
3407-
"type" : "string"
3408-
},
3409-
"query" : {
3410-
"type" : "string"
3411-
},
3412-
"for" : {
3413-
"$ref" : "#/components/schemas/common.Duration"
3414-
},
3415-
"channels" : {
3416-
"type" : "array",
3417-
"items" : {
3418-
"$ref" : "#/components/schemas/common.Channel"
3419-
}
3420-
},
3421-
"updateTime" : {
3422-
"type" : "string",
3423-
"format" : "date-time"
3424-
},
3425-
"condition" : {
3426-
"$ref" : "#/components/schemas/alert_service.Condition"
3427-
},
3428-
"renotifyDuration" : {
3429-
"$ref" : "#/components/schemas/common.Duration"
3430-
},
3431-
"renotifyLimit" : {
3432-
"type" : "integer",
3433-
"format" : "int32"
3434-
},
3435-
"alertType" : {
3436-
"$ref" : "#/components/schemas/alert_service.AlertType"
3437-
},
3438-
"logCondition" : {
3439-
"$ref" : "#/components/schemas/alert_service.LogCondition"
3440-
},
3441-
"lastQueryTime" : {
3442-
"type" : "string",
3443-
"format" : "date-time"
3444-
},
3445-
"mute" : {
3446-
"type" : "boolean"
3447-
},
3448-
"interval" : {
3449-
"$ref" : "#/components/schemas/common.Duration"
3450-
}
3451-
}
34523450
};
34533451
defs["metrics_service.GetMetricsResponse"] = {
34543452
"type" : "object",

openapi.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2684,8 +2684,7 @@
26842684
"interval": {
26852685
"$ref": "#/definitions/common.Duration"
26862686
}
2687-
},
2688-
"title": "maybe need to extract to common so it could used by web as well"
2687+
}
26892688
},
26902689
"alert_service.AlertRule.State": {
26912690
"type": "string",
@@ -2761,8 +2760,7 @@
27612760
"interval": {
27622761
"$ref": "#/definitions/common.Duration"
27632762
}
2764-
},
2765-
"title": "maybe need to extract to common so it could used by web as well"
2763+
}
27662764
}
27672765
}
27682766
},

src/models/AlertServiceAlertServiceSaveAlertRuleBody.ts

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/models/MaybeNeedToExtractToCommonSoItCouldUsedByWebAsWell.ts renamed to src/models/AlertServiceAlertServiceSaveAlertRuleBodyRule.ts

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/models/ObjectSerializer.ts

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/models/all.ts

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/types/ObjectParamAPI.ts

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/types/ObservableAPI.ts

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/types/PromiseAPI.ts

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)