From c38c4bda17e3774ec0fd58f90ba5e59e1f0639a2 Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期三, 30 十月 2019 16:39:29 +0800 Subject: [PATCH] swagger add ApiKeyAuth --- controllers/eventPush.go | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/controllers/eventPush.go b/controllers/eventPush.go index 02d0881..a203f40 100644 --- a/controllers/eventPush.go +++ b/controllers/eventPush.go @@ -47,6 +47,7 @@ Enable bool `json:"enable"` } +// @Security ApiKeyAuth // @Summary 浜嬩欢鎺ㄩ�佷繚瀛� // @Description 浜嬩欢鎺ㄩ�佷繚瀛� // @Tags 浜嬩欢鎺ㄩ�� @@ -70,6 +71,7 @@ } } +// @Security ApiKeyAuth // @Summary 鏍规嵁浜嬩欢鎺ㄩ�佷富棰樼殑涓�绾у拰浜岀骇閫夐」鑾峰彇鏈�鍚庝笅鎷夎彍鍗曞垪琛� // @Description 鏍规嵁浜嬩欢鎺ㄩ�佷富棰樼殑涓�绾у拰浜岀骇閫夐」鑾峰彇鏈�鍚庝笅鎷夎彍鍗曞垪琛� // @Produce json @@ -95,6 +97,7 @@ } } +// @Security ApiKeyAuth // @Summary 鏌ュ叏閮� // @Description 鏌ュ叏閮� // @Produce json @@ -114,6 +117,7 @@ } } +// @Security ApiKeyAuth // @Summary 浜嬩欢鎺ㄩ�佺紪杈� // @Description 浜嬩欢鎺ㄩ�佺紪杈� // @Produce json @@ -142,6 +146,7 @@ Enable bool `json:"enable"` } +// @Security ApiKeyAuth // @Summary 鏀瑰彉enable鐘舵�� // @Description 鏀瑰彉enable鐘舵�� // @Produce json @@ -166,6 +171,7 @@ } } +// @Security ApiKeyAuth // @Summary 鏍规嵁id鍒犻櫎 // @Description 鏍规嵁id鍒犻櫎 // @Accept x-www-form-urlencoded -- Gitblit v1.8.0