mirror of
https://github.com/yusing/godoxy.git
synced 2026-03-29 05:11:51 +02:00
fix(rules): add swaggertype annotations for On and Do fields in Rule struct
This commit is contained in:
@@ -40,8 +40,8 @@ type (
|
||||
*/
|
||||
Rule struct {
|
||||
Name string `json:"name"`
|
||||
On RuleOn `json:"on"`
|
||||
Do Command `json:"do"`
|
||||
On RuleOn `json:"on" swaggertype:"string"`
|
||||
Do Command `json:"do" swaggertype:"string"`
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user