syntax = "v1" info ( title: "飞书同步服务"// TODO: add title desc: // TODO: add description author: "" email: "" ) import "basic.api" service feishu-sync { //飞书ticket webhook事件接口 @handler WebhookHandler post /api/feishu/webhook(WebhookReq) returns (response); } type WebhookReq { Schema string `json:"schema"` Header map[string]interface{} `json:"header"` Event map[string]interface{} `json:"event"` Challenge string `json:"challenge,optional"` //设置飞书通知接口验证用 Type string `json:"type,optional"` //设置飞书通知接口验证用 }