fix(rules): add swaggertype annotations for On and Do fields in Rule struct

This commit is contained in:
yusing
2025-09-04 06:34:31 +08:00
parent 9ab00e3902
commit 920aed7bee

View File

@@ -40,8 +40,8 @@ type (
*/ */
Rule struct { Rule struct {
Name string `json:"name"` Name string `json:"name"`
On RuleOn `json:"on"` On RuleOn `json:"on" swaggertype:"string"`
Do Command `json:"do"` Do Command `json:"do" swaggertype:"string"`
} }
) )