mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-23 09:18: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 {
|
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"`
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user