From bfe898d15f14ff9ba2e48e6cbe70e66632f79c83 Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Fri, 24 Jan 2025 09:40:28 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20swagger=E6=8E=A5=E5=8F=A3=E6=96=87?= =?UTF-8?q?=E6=A1=A3=E6=9B=B4=E6=96=B01.0.8=E6=94=B9TokenAuth?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- restagent/restagent.go | 2 +- src/modules/chart/controller/chart_graph.go | 8 +- src/modules/common/controller/account.go | 6 +- src/modules/common/controller/captcha.go | 2 +- src/modules/common/controller/file.go | 8 +- src/modules/monitor/controller/monitor.go | 2 +- src/modules/monitor/controller/sys_cache.go | 2 +- .../monitor/controller/sys_user_online.go | 2 +- src/modules/monitor/controller/system_info.go | 2 +- .../network_data/controller/all_kpi.go | 4 +- src/modules/network_data/controller/amf.go | 10 +- src/modules/network_data/controller/ims.go | 10 +- src/modules/network_data/controller/mme.go | 10 +- src/modules/network_data/controller/sgwc.go | 6 +- src/modules/network_data/controller/smf.go | 10 +- src/modules/network_data/controller/smsc.go | 6 +- .../network_data/controller/udm_auth.go | 20 +- .../network_data/controller/udm_sub.go | 20 +- src/modules/network_data/controller/upf.go | 2 +- .../network_element/controller/action.go | 12 +- .../network_element/controller/ne_config.go | 10 +- .../network_element/controller/ne_host.go | 8 +- .../network_element/controller/ne_info.go | 16 +- .../network_element/controller/ne_license.go | 10 +- .../network_element/controller/ne_software.go | 4 +- .../network_element/controller/ne_version.go | 2 +- src/modules/system/controller/sys_config.go | 2 +- src/modules/system/controller/sys_dept.go | 2 +- .../system/controller/sys_dict_data.go | 2 +- .../system/controller/sys_dict_type.go | 2 +- .../system/controller/sys_log_login.go | 2 +- .../system/controller/sys_log_operate.go | 2 +- src/modules/system/controller/sys_menu.go | 2 +- src/modules/system/controller/sys_post.go | 2 +- src/modules/system/controller/sys_profile.go | 8 +- src/modules/system/controller/sys_role.go | 2 +- src/modules/system/controller/sys_user.go | 2 +- src/modules/tool/controller/iperf.go | 6 +- src/modules/tool/controller/ping.go | 8 +- src/modules/trace/controller/tcpdump.go | 6 +- swagger2docs/docs.go | 246 +++++++++--------- swagger2docs/swagger.json | 246 +++++++++--------- swagger2docs/swagger.yaml | 246 +++++++++--------- 43 files changed, 490 insertions(+), 490 deletions(-) diff --git a/restagent/restagent.go b/restagent/restagent.go index 9cff388f..4a3eaa63 100644 --- a/restagent/restagent.go +++ b/restagent/restagent.go @@ -141,7 +141,7 @@ var wg sync.WaitGroup // @BasePath / // @schemes http https // -// @securityDefinitions.apikey ApiKeyAuth +// @securityDefinitions.apikey TokenAuth // @in header // @name Authorization // @description Get the key through the common/authorization System Login, fill in content "Bearer " diff --git a/src/modules/chart/controller/chart_graph.go b/src/modules/chart/controller/chart_graph.go index 983bb5f1..fbb01084 100644 --- a/src/modules/chart/controller/chart_graph.go +++ b/src/modules/chart/controller/chart_graph.go @@ -30,7 +30,7 @@ type ChartGraphController struct { // @Accept json // @Produce json // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Get relationship graph group name // @Description Get relationship graph group name // @Router /chart/graph/groups [get] @@ -49,7 +49,7 @@ func (s *ChartGraphController) GroupNames(c *gin.Context) { // @Param group query string true "Group" // @Param type query string true "Type" Enums(node, edge, combo) // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Getting Relationship Map Data // @Description Getting Relationship Map Data // @Router /chart/graph [get] @@ -77,7 +77,7 @@ func (s *ChartGraphController) Load(c *gin.Context) { // @Produce json // @Param data body object true "Request Param" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Saving Relationship Diagram Data // @Description Saving Relationship Diagram Data // @Router /chart/graph/ [post] @@ -119,7 +119,7 @@ func (s *ChartGraphController) Save(c *gin.Context) { // @Produce json // @Param group path string true "Group" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Deleting Relationship Diagram Data // @Description Deleting Relationship Diagram Data // @Router /chart/graph/{group} [delete] diff --git a/src/modules/common/controller/account.go b/src/modules/common/controller/account.go index 995aaa28..694132bb 100644 --- a/src/modules/common/controller/account.go +++ b/src/modules/common/controller/account.go @@ -103,7 +103,7 @@ func (s *AccountController) Login(c *gin.Context) { // @Accept json // @Produce json // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Login User Information // @Description Login User Information // @Router /getInfo [get] @@ -140,7 +140,7 @@ func (s *AccountController) Info(c *gin.Context) { // @Accept json // @Produce json // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Login User Routing Information // @Description Login User Routing Information // @Router /getRouters [get] @@ -175,7 +175,7 @@ func (s *AccountController) Router(c *gin.Context) { // @Accept json // @Produce json // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary System Logout // @Description System Logout // @Router /logout [post] diff --git a/src/modules/common/controller/captcha.go b/src/modules/common/controller/captcha.go index c8180943..c39a6430 100644 --- a/src/modules/common/controller/captcha.go +++ b/src/modules/common/controller/captcha.go @@ -37,7 +37,7 @@ type CaptchaController struct { // @Accept json // @Produce json // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Get CAPTCHA // @Description Get CAPTCHA // @Router /captchaImage [get] diff --git a/src/modules/common/controller/file.go b/src/modules/common/controller/file.go index bc1a14d4..173b2d2b 100644 --- a/src/modules/common/controller/file.go +++ b/src/modules/common/controller/file.go @@ -78,7 +78,7 @@ func (s *FileController) Download(c *gin.Context) { // @Param file formData file true "The file to upload." // @Param subPath formData string true "subpath, eg: default or common" Enums(default, common) // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Upload a file // @Description Upload a file // @Router /file/upload [post] @@ -122,7 +122,7 @@ func (s *FileController) Upload(c *gin.Context) { // @Produce json // @Param data body object true "Request Param" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Slice file checking // @Description Slice file checking // @Router /file/chunkCheck [post] @@ -158,7 +158,7 @@ func (s *FileController) ChunkCheck(c *gin.Context) { // @Produce json // @Param data body object true "Request Param" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Slice file merge // @Description Slice file merge // @Router /file/chunkMerge [post] @@ -209,7 +209,7 @@ func (s *FileController) ChunkMerge(c *gin.Context) { // @Param identifier formData string true "Slice Marker" // @Param index formData string true "Slice No." // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Sliced file upload // @Description Sliced file upload // @Router /file/chunkUpload [post] diff --git a/src/modules/monitor/controller/monitor.go b/src/modules/monitor/controller/monitor.go index 35802d12..b1e90d34 100644 --- a/src/modules/monitor/controller/monitor.go +++ b/src/modules/monitor/controller/monitor.go @@ -29,7 +29,7 @@ type MonitorController struct { // @Accept json // @Produce json // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Resource monitoring information loading // @Description Resource monitoring information loading // @Router /monitor/load [get] diff --git a/src/modules/monitor/controller/sys_cache.go b/src/modules/monitor/controller/sys_cache.go index 20ae2b7a..06c4c897 100644 --- a/src/modules/monitor/controller/sys_cache.go +++ b/src/modules/monitor/controller/sys_cache.go @@ -27,7 +27,7 @@ type SysCacheController struct{} // @Accept json // @Produce json // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Cache Service Information // @Description Cache Service Information // @Router /monitor/cache [get] diff --git a/src/modules/monitor/controller/sys_user_online.go b/src/modules/monitor/controller/sys_user_online.go index 3add90c9..09b0edec 100644 --- a/src/modules/monitor/controller/sys_user_online.go +++ b/src/modules/monitor/controller/sys_user_online.go @@ -37,7 +37,7 @@ type SysUserOnlineController struct { // @Accept json // @Produce json // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary System Online User List // @Description System Online User List // @Router /monitor/online/list [get] diff --git a/src/modules/monitor/controller/system_info.go b/src/modules/monitor/controller/system_info.go index 78a9ffe6..382b8425 100644 --- a/src/modules/monitor/controller/system_info.go +++ b/src/modules/monitor/controller/system_info.go @@ -27,7 +27,7 @@ type SystemInfoController struct { // @Accept json // @Produce json // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Server Information // @Description Server Information // @Router /monitor/system-info [get] diff --git a/src/modules/network_data/controller/all_kpi.go b/src/modules/network_data/controller/all_kpi.go index cad3e913..6877b3a3 100644 --- a/src/modules/network_data/controller/all_kpi.go +++ b/src/modules/network_data/controller/all_kpi.go @@ -37,7 +37,7 @@ type PerfKPIController struct { // @Param endTime query number true "End time (timestamped milliseconds)" default(1737453599059) // @Param interval query number true "interval" Enums(5,10,15,30,60,300,600,900,1800,3600) // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Access to statistical data // @Description Access to statistical data // @Router /neData/kpi/data [get] @@ -75,7 +75,7 @@ func (s *PerfKPIController) GoldKPI(c *gin.Context) { // @Produce json // @Param neType query string true "NE Type" Enums(IMS,AMF,AUSF,UDM,SMF,PCF,NSSF,NRF,UPF,MME,CBC,OMC,SGWC) // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Get Statistical Headings // @Description Get Statistical Headings // @Router /neData/kpi/title [get] diff --git a/src/modules/network_data/controller/amf.go b/src/modules/network_data/controller/amf.go index eb7b229c..cb7dac1a 100644 --- a/src/modules/network_data/controller/amf.go +++ b/src/modules/network_data/controller/amf.go @@ -44,7 +44,7 @@ type AMFController struct { // @Param pageNum query number true "pageNum" default(1) // @Param pageSize query number true "pageSize" default(10) // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary UE Session List // @Description UE Session List // @Router /neData/amf/ue/list [get] @@ -78,7 +78,7 @@ func (s *AMFController) UEList(c *gin.Context) { // @Produce json // @Param ueIds path string true "list data id, multiple separated by a , sign" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary UE Session Deletion // @Description UE Session Deletion // @Router /neData/amf/ue/{ueIds} [delete] @@ -114,7 +114,7 @@ func (s *AMFController) UERemove(c *gin.Context) { // @Produce json // @Param data body object true "Request Param" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary UE Session List Export // @Description UE Session List Export // @Router /neData/amf/ue/export [post] @@ -166,7 +166,7 @@ func (s *AMFController) UEExport(c *gin.Context) { // @Param neId query string true "NE ID" default(001) // @Param id query string false "Base Station ID" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Access Base Station Information List // @Description Access Base Station Information List // @Router /neData/amf/nb/list [get] @@ -209,7 +209,7 @@ func (s *AMFController) NbInfoList(c *gin.Context) { // @Produce json // @Param neId query string true "NE ID" default(001) // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Access to the base station status information list // @Description Access to the base station status information list // @Router /neData/amf/nb/list-cfg [get] diff --git a/src/modules/network_data/controller/ims.go b/src/modules/network_data/controller/ims.go index f65060a1..5952e20b 100644 --- a/src/modules/network_data/controller/ims.go +++ b/src/modules/network_data/controller/ims.go @@ -45,7 +45,7 @@ type IMSController struct { // @Param pageNum query number true "pageNum" default(1) // @Param pageSize query number true "pageSize" default(10) // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary CDR Session List // @Description CDR Session List // @Router /neData/ims/cdr/list [get] @@ -79,7 +79,7 @@ func (s *IMSController) CDRList(c *gin.Context) { // @Produce json // @Param cdrIds path string true "list data id, multiple separated by a , sign" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary CDR Session Delete // @Description CDR Session Delete // @Router /neData/ims/cdr/{cdrIds} [delete] @@ -115,7 +115,7 @@ func (s *IMSController) CDRRemove(c *gin.Context) { // @Produce json // @Param data body object true "Request Param" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary CDR Session List Export // @Description CDR Session List Export // @Router /neData/ims/cdr/export [post] @@ -166,7 +166,7 @@ func (s *IMSController) CDRExport(c *gin.Context) { // @Produce json // @Param neId query string true "NE ID" default(001) // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Number of online session users // @Description Number of online session users // @Router /neData/ims/session/num [get] @@ -208,7 +208,7 @@ func (s *IMSController) UeSessionNum(c *gin.Context) { // @Param imsi query string false "imsi" // @Param msisdn query string false "msisdn" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Online session user list information // @Description Online session user list information // @Router /neData/ims/session/list [get] diff --git a/src/modules/network_data/controller/mme.go b/src/modules/network_data/controller/mme.go index 944cf4f4..1e2c4880 100644 --- a/src/modules/network_data/controller/mme.go +++ b/src/modules/network_data/controller/mme.go @@ -44,7 +44,7 @@ type MMEController struct { // @Param pageNum query number true "pageNum" default(1) // @Param pageSize query number true "pageSize" default(10) // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary UE Session List // @Description UE Session List // @Router /neData/mme/ue/list [get] @@ -78,7 +78,7 @@ func (s *MMEController) UEList(c *gin.Context) { // @Produce json // @Param ueIds path string true "list data id, multiple separated by a , sign" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary UE Session Deletion // @Description UE Session Deletion // @Router /neData/mme/ue/{ueIds} [delete] @@ -114,7 +114,7 @@ func (s *MMEController) UERemove(c *gin.Context) { // @Produce json // @Param data body object true "Request Param" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary UE Session List Export // @Description UE Session List Export // @Router /neData/mme/ue/export [post] @@ -166,7 +166,7 @@ func (s *MMEController) UEExport(c *gin.Context) { // @Param neId query string true "NE ID" default(001) // @Param id query string false "Base Station ID" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Access Base Station Information List // @Description Access Base Station Information List // @Router /neData/mme/nb/list [get] @@ -209,7 +209,7 @@ func (s *MMEController) NbInfoList(c *gin.Context) { // @Produce json // @Param neId query string true "NE ID" default(001) // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Access to the base station status information list // @Description Access to the base station status information list // @Router /neData/mme/nb/list-cfg [get] diff --git a/src/modules/network_data/controller/sgwc.go b/src/modules/network_data/controller/sgwc.go index 8943574c..e6e3f230 100644 --- a/src/modules/network_data/controller/sgwc.go +++ b/src/modules/network_data/controller/sgwc.go @@ -45,7 +45,7 @@ type SGWCController struct { // @Param pageNum query number true "pageNum" default(1) // @Param pageSize query number true "pageSize" default(10) // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary CDR Session List // @Description CDR Session List // @Router /neData/sgwc/cdr/list [get] @@ -79,7 +79,7 @@ func (s *SGWCController) CDRList(c *gin.Context) { // @Produce json // @Param cdrIds path string true "list data id, multiple separated by a , sign" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary CDR Session Delete // @Description CDR Session Delete // @Router /neData/sgwc/cdr/{cdrIds} [delete] @@ -115,7 +115,7 @@ func (s *SGWCController) CDRRemove(c *gin.Context) { // @Produce json // @Param data body object true "Request Param" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary CDR Session List Export // @Description CDR Session List Export // @Router /neData/sgwc/cdr/export [post] diff --git a/src/modules/network_data/controller/smf.go b/src/modules/network_data/controller/smf.go index ffaeae4d..b943b736 100644 --- a/src/modules/network_data/controller/smf.go +++ b/src/modules/network_data/controller/smf.go @@ -46,7 +46,7 @@ type SMFController struct { // @Param pageNum query number true "pageNum" default(1) // @Param pageSize query number true "pageSize" default(10) // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary CDR Session List // @Description CDR Session List // @Router /neData/smf/cdr/list [get] @@ -80,7 +80,7 @@ func (s *SMFController) CDRList(c *gin.Context) { // @Produce json // @Param cdrIds path string true "list data id, multiple separated by a , sign" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary CDR Session Delete // @Description CDR Session Delete // @Router /neData/smf/cdr/{cdrIds} [delete] @@ -116,7 +116,7 @@ func (s *SMFController) CDRRemove(c *gin.Context) { // @Produce json // @Param data body object true "Request Param" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary CDR Session List Export // @Description CDR Session List Export // @Router /neData/smf/cdr/export [post] @@ -167,7 +167,7 @@ func (s *SMFController) CDRExport(c *gin.Context) { // @Produce json // @Param neId query string true "NE ID" default(001) // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Number of online session users // @Description Number of online session users // @Router /neData/smf/sub/num [get] @@ -211,7 +211,7 @@ func (s *SMFController) SubUserNum(c *gin.Context) { // @Param upstate query string false "upstate" // @Param pageNum query string true "pageNum" default(50) // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Online session user list information // @Description Online session user list information // @Router /neData/smf/session/list [get] diff --git a/src/modules/network_data/controller/smsc.go b/src/modules/network_data/controller/smsc.go index 421f1aff..8548620b 100644 --- a/src/modules/network_data/controller/smsc.go +++ b/src/modules/network_data/controller/smsc.go @@ -44,7 +44,7 @@ type SMSCController struct { // @Param pageNum query number true "pageNum" default(1) // @Param pageSize query number true "pageSize" default(10) // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary CDR Session List // @Description CDR Session List // @Router /neData/smsc/cdr/list [get] @@ -78,7 +78,7 @@ func (s *SMSCController) CDRList(c *gin.Context) { // @Produce json // @Param cdrIds path string true "list data id, multiple separated by a , sign" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary CDR Session Delete // @Description CDR Session Delete // @Router /neData/smsc/cdr/{cdrIds} [delete] @@ -114,7 +114,7 @@ func (s *SMSCController) CDRRemove(c *gin.Context) { // @Produce json // @Param data body object true "Request Param" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary CDR Session List Export // @Description CDR Session List Export // @Router /neData/smsc/cdr/export [post] diff --git a/src/modules/network_data/controller/udm_auth.go b/src/modules/network_data/controller/udm_auth.go index 36a335ca..d2c6b1d4 100644 --- a/src/modules/network_data/controller/udm_auth.go +++ b/src/modules/network_data/controller/udm_auth.go @@ -44,7 +44,7 @@ type UDMAuthController struct { // @Produce json // @Param neId path string true "NE ID" default(001) // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary UDM Authentication User Reload Data // @Description UDM Authentication User Reload Data // @Router /neData/udm/auth/resetData/{neId} [post] @@ -68,7 +68,7 @@ func (s *UDMAuthController) ResetData(c *gin.Context) { // @Accept json // @Produce json // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary UDM Authentication User List // @Description UDM Authentication User List // @Router /neData/udm/auth/list [get] @@ -88,7 +88,7 @@ func (s *UDMAuthController) List(c *gin.Context) { // @Param neId path string true "NE ID" default(001) // @Param value path string true "User data imsi" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary UDM Authentication User Information // @Description UDM Authentication User Information // @Router /neData/udm/auth/{neId}/{value} [get] @@ -144,7 +144,7 @@ func (s *UDMAuthController) Info(c *gin.Context) { // @Param neId path string true "NE ID" default(001) // @Param data body object true "Request Param" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary UDM Authentication User Added // @Description UDM Authentication User Added // @Router /neData/udm/auth/{neId} [post] @@ -204,7 +204,7 @@ func (s *UDMAuthController) Add(c *gin.Context) { // @Param value path number true "Incremental number" // @Param data body object true "Request Param" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary UDM Authentication User Batch Add // @Description UDM Authentication User Batch Add // @Router /neData/udm/auth/{neId}/{value} [post] @@ -264,7 +264,7 @@ func (s *UDMAuthController) Adds(c *gin.Context) { // @Param neId path string true "NE ID" default(001) // @Param data body object true "Request Param" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary UDM Authenticated User Modification // @Description UDM Authenticated User Modification // @Router /neData/udm/auth/{neId} [put] @@ -323,7 +323,7 @@ func (s *UDMAuthController) Edit(c *gin.Context) { // @Param neId path string true "NE ID" default(001) // @Param value path string true "User data imsi, multiple separated by a , sign" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary UDM Authenticated User Deletion // @Description UDM Authenticated User Deletion // @Router /neData/udm/auth/{neId}/{value} [delete] @@ -388,7 +388,7 @@ func (s *UDMAuthController) Remove(c *gin.Context) { // @Param imsi path string true "User data imsi" // @Param num path number true "Incremental number" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary UDM Authentication User Batch Deletion // @Description UDM Authentication User Batch Deletion // @Router /neData/udm/auth/{neId}/{imsi}/{num} [delete] @@ -439,7 +439,7 @@ func (s *UDMAuthController) Removes(c *gin.Context) { // @Accept json // @Produce json // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary UDM Authenticated User Export // @Description UDM Authenticated User Export // @Router /neData/udm/auth/export [post] @@ -527,7 +527,7 @@ func (s *UDMAuthController) Export(c *gin.Context) { // @Produce json // @Param data body object true "Request Param" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary UDM Authenticated User Import // @Description UDM Authenticated User Import // @Router /neData/udm/auth/import [post] diff --git a/src/modules/network_data/controller/udm_sub.go b/src/modules/network_data/controller/udm_sub.go index 65ff00d6..77aaf695 100644 --- a/src/modules/network_data/controller/udm_sub.go +++ b/src/modules/network_data/controller/udm_sub.go @@ -43,7 +43,7 @@ type UDMSubController struct { // @Produce json // @Param neId path string true "NE ID" default(001) // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary UDM Subscriber User Reload Data // @Description UDM Subscriber User Reload Data // @Router /neData/udm/sub/resetData/{neId} [post] @@ -67,7 +67,7 @@ func (s *UDMSubController) ResetData(c *gin.Context) { // @Accept json // @Produce json // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary UDM Subscriber User List // @Description UDM Subscriber User List // @Router /neData/udm/sub/list [get] @@ -87,7 +87,7 @@ func (s *UDMSubController) List(c *gin.Context) { // @Param neId path string true "NE ID" default(001) // @Param value path string true "User data imsi" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary UDM Subscriber User Information // @Description UDM Subscriber User Information // @Router /neData/udm/sub/{neId}/{value} [get] @@ -143,7 +143,7 @@ func (s *UDMSubController) Info(c *gin.Context) { // @Param neId path string true "NE ID" default(001) // @Param data body object true "Request Param" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary UDM Subscriber User Added // @Description UDM Subscriber User Added // @Router /neData/udm/sub/{neId} [post] @@ -204,7 +204,7 @@ func (s *UDMSubController) Add(c *gin.Context) { // @Param value path number true "Incremental number" default(1) // @Param data body object true "Request Param" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary UDM Subscriber User Batch Add // @Description UDM Subscriber User Batch Add // @Router /neData/udm/sub/{neId}/{value} [post] @@ -267,7 +267,7 @@ func (s *UDMSubController) Adds(c *gin.Context) { // @Param neId path string true "NE ID" default(001) // @Param data body object true "Request Param" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary UDM Subscriber User Modification // @Description UDM Subscriber User Modification // @Router /neData/udm/sub/{neId} [put] @@ -327,7 +327,7 @@ func (s *UDMSubController) Edit(c *gin.Context) { // @Param neId path string true "NE ID" default(001) // @Param value path string true "User data imsi, multiple separated by a , sign" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary UDM Subscriber User Deletion // @Description UDM Subscriber User Deletion // @Router /neData/udm/sub/{neId}/{value} [delete] @@ -392,7 +392,7 @@ func (s *UDMSubController) Remove(c *gin.Context) { // @Param imsi path string true "User data imsi" // @Param num path number true "Incremental number" default(1) // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary UDM Subscriber User Batch Deletion // @Description UDM Subscriber User Batch Deletion // @Router /neData/udm/sub/{neId}/{imsi}/{num} [delete] @@ -444,7 +444,7 @@ func (s *UDMSubController) Removes(c *gin.Context) { // @Produce json // @Param data body object true "Request Param" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary UDM Subscriber User Export // @Description UDM Subscriber User Export // @Router /neData/udm/sub/export [post] @@ -524,7 +524,7 @@ func (s *UDMSubController) Export(c *gin.Context) { // @Produce json // @Param data body object true "Request Param" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary UDM Subscriber User Import // @Description UDM Subscriber User Import // @Router /neData/udm/sub/import [post] diff --git a/src/modules/network_data/controller/upf.go b/src/modules/network_data/controller/upf.go index c76f050b..fcd48f3b 100644 --- a/src/modules/network_data/controller/upf.go +++ b/src/modules/network_data/controller/upf.go @@ -34,7 +34,7 @@ type UPFController struct { // @Param neId query string true "NE ID" default(001) // @Param day query number true "Statistical time a few days before" Enums(0, 7, 30) // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Total number of flows N3 upstream N6 downstream // @Description Total number of flows N3 upstream N6 downstream // @Router /neData/upf/totalFlow [get] diff --git a/src/modules/network_element/controller/action.go b/src/modules/network_element/controller/action.go index 30a67119..295c799b 100644 --- a/src/modules/network_element/controller/action.go +++ b/src/modules/network_element/controller/action.go @@ -39,7 +39,7 @@ type NeActionController struct { // @Accept json // @Produce json // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Sending files from local to network elements // @Description Sending files from local to network elements // @Router /ne/action/pushFile [post] @@ -105,7 +105,7 @@ func (s *NeActionController) PushFile(c *gin.Context) { // @Accept json // @Produce json // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Getting files from the network element to the local // @Description Getting files from the network element to the local // @Router /ne/action/pullFile [get] @@ -173,7 +173,7 @@ func (s *NeActionController) PullFile(c *gin.Context) { // @Accept json // @Produce json // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Get directories compressed to ZIP from the network element to the local area // @Description Get directories compressed to ZIP from the network element to the local area // @Router /ne/action/pullDirZip [get] @@ -249,7 +249,7 @@ func (s *NeActionController) PullDirZip(c *gin.Context) { // @Accept json // @Produce json // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Viewing the contents of a file on the network element side // @Description Viewing the contents of a file on the network element side // @Router /ne/action/viewFile [get] @@ -301,7 +301,7 @@ func (s *NeActionController) ViewFile(c *gin.Context) { // @Accept json // @Produce json // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary List of files on the network element side // @Description List of files on the network element side // @Router /ne/action/files [get] @@ -374,7 +374,7 @@ func (s *NeActionController) Files(c *gin.Context) { // @Accept json // @Produce json // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Network element service operation // @Description Network element service operation // @Router /ne/action/service [put] diff --git a/src/modules/network_element/controller/ne_config.go b/src/modules/network_element/controller/ne_config.go index 41742676..1badb9f0 100644 --- a/src/modules/network_element/controller/ne_config.go +++ b/src/modules/network_element/controller/ne_config.go @@ -163,7 +163,7 @@ func (s *NeConfigController) Remove(c *gin.Context) { // @Produce json // @Param neType path string true "NE Type" Enums(IMS,AMF,AUSF,UDM,SMF,PCF,NSSF,NRF,UPF,MME,CBC,OMC,SGWC) // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Network Element Parameter Configuration Available Attribute Values List Specify Network Element Type All Unpaged // @Description Network Element Parameter Configuration Available Attribute Values List Specify Network Element Type All Unpaged // @Router /ne/config/list/{neType} [get] @@ -189,7 +189,7 @@ func (s *NeConfigController) ListByNeType(c *gin.Context) { // @Param neId query string true "NE ID" default(001) // @Param paramName query string true "Available attributes, based on querying the list of attributes" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Network Element Parameter Configuration Data Information // @Description Network Element Parameter Configuration Data Information // @Router /ne/config/data [get] @@ -241,7 +241,7 @@ func (s *NeConfigController) DataInfo(c *gin.Context) { // @Produce json // @Param data body object true "Request Param" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Network element parameter configuration data modification // @Description Network element parameter configuration data modification // @Router /ne/config/data [put] @@ -293,7 +293,7 @@ func (s *NeConfigController) DataEdit(c *gin.Context) { // @Produce json // @Param data body object true "Request Param" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Network element parameter configuration data added (array) // @Description Network element parameter configuration data added (array) // @Router /ne/config/data [post] @@ -351,7 +351,7 @@ func (s *NeConfigController) DataAdd(c *gin.Context) { // @Param paramName query string true "Available attributes, based on querying the list of attributes" // @Param loc query string true "Array index" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Network element parameter configuration data deletion (array) // @Description Network element parameter configuration data deletion (array) // @Router /ne/config/data [delete] diff --git a/src/modules/network_element/controller/ne_host.go b/src/modules/network_element/controller/ne_host.go index 4777574c..64fd3069 100644 --- a/src/modules/network_element/controller/ne_host.go +++ b/src/modules/network_element/controller/ne_host.go @@ -177,7 +177,7 @@ func (s *NeHostController) Remove(c *gin.Context) { // @Produce json // @Param data body object true "Request Param" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Network element host test connection // @Description Network element host test connection // @Router /ne/host/test [post] @@ -255,7 +255,7 @@ func (s *NeHostController) Test(c *gin.Context) { // @Produce json // @Param data body object true "Request Param" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary The network element host sends the command // @Description The network element host sends the command // @Router /ne/host/cmd [post] @@ -337,7 +337,7 @@ func (s *NeHostController) Cmd(c *gin.Context) { // @Produce json // @Param data body object true "Request Param" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Checking the server environment by SSH method of Net Element Hosting // @Description Checking the server environment by SSH method of Net Element Hosting // @Router /ne/host/checkBySSH [post] @@ -438,7 +438,7 @@ func (s *NeHostController) CheckBySSH(c *gin.Context) { // @Produce json // @Param data body object true "Request Param" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Network element host SSH method of authorization for password-free sending // @Description Network element host SSH method of authorization for password-free sending // @Router /ne/host/authorizedBySSH [post] diff --git a/src/modules/network_element/controller/ne_info.go b/src/modules/network_element/controller/ne_info.go index 76900d89..2c1359df 100644 --- a/src/modules/network_element/controller/ne_info.go +++ b/src/modules/network_element/controller/ne_info.go @@ -46,7 +46,7 @@ var mutex sync.Mutex // @Param neType query string true "NE Type" Enums(IMS,AMF,AUSF,UDM,SMF,PCF,NSSF,NRF,UPF,MME,CBC,OMC,SGWC) // @Param neId query string true "NE ID" default(001) // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Network element information state // @Description Network element information state // @Router /ne/info/state [get] @@ -109,7 +109,7 @@ func (s *NeInfoController) State(c *gin.Context) { // @Param neType query string true "NE Type" Enums(IMS,AMF,AUSF,UDM,SMF,PCF,NSSF,NRF,UPF,MME,CBC,OMC,SGWC) // @Param neId query string true "NE ID" default(001) // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Network element neType and neID queries // @Description Network element neType and neID queries // @Router /ne/info/byTypeAndID [get] @@ -140,7 +140,7 @@ func (s *NeInfoController) NeTypeAndID(c *gin.Context) { // @Accept json // @Produce json // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary The list of network element information is all unpaginated // @Description The list of network element information is all unpaginated // @Router /ne/info/listAll [get] @@ -269,7 +269,7 @@ func (s *NeInfoController) OAMFileWrite(c *gin.Context) { // @Produce json // @Param bandStatus query boolean false "The result carries the state of the network element" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Network element information list // @Description Network element information list // @Router /ne/info/list [get] @@ -292,7 +292,7 @@ func (s *NeInfoController) List(c *gin.Context) { // @Produce json // @Param infoId path string true "list data id" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Network element information // @Description Network element information // @Router /ne/info/{infoId} [get] @@ -323,7 +323,7 @@ func (s *NeInfoController) Info(c *gin.Context) { // @Produce json // @Param data body object true "Request Param" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Network element information addition // @Description Network element information addition // @Router /ne/info [post] @@ -411,7 +411,7 @@ func (s *NeInfoController) Add(c *gin.Context) { // @Produce json // @Param data body object true "Request Param" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Network element information modification // @Description Network element information modification // @Router /ne/info [put] @@ -519,7 +519,7 @@ func (s *NeInfoController) Edit(c *gin.Context) { // @Produce json // @Param infoIds path string true "list data id, multiple separated by a , sign" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Network element information deletion // @Description Network element information deletion // @Router /ne/{infoIds} [delete] diff --git a/src/modules/network_element/controller/ne_license.go b/src/modules/network_element/controller/ne_license.go index 05635b5d..22900c0d 100644 --- a/src/modules/network_element/controller/ne_license.go +++ b/src/modules/network_element/controller/ne_license.go @@ -37,7 +37,7 @@ type NeLicenseController struct { // @Param neType query string true "NE Type" Enums(IMS,AMF,AUSF,UDM,SMF,PCF,NSSF,NRF,UPF,MME,CBC,OMC,SGWC) // @Param neId query string true "NE ID" default(001) // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Net Element License Activation List // @Description Net Element License Activation List // @Router /ne/license/list [get] @@ -87,7 +87,7 @@ func (s *NeLicenseController) Info(c *gin.Context) { // @Param neType query string true "NE Type" Enums(IMS,AMF,AUSF,UDM,SMF,PCF,NSSF,NRF,UPF,MME,CBC,OMC,SGWC) // @Param neId query string true "NE ID" default(001) // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Network element neType and neID queries // @Description Network element neType and neID queries // @Router /ne/license/byTypeAndID [get] @@ -122,7 +122,7 @@ func (s *NeLicenseController) NeTypeAndID(c *gin.Context) { // @Param neType query string true "NE Type" Enums(IMS,AMF,AUSF,UDM,SMF,PCF,NSSF,NRF,UPF,MME,CBC,OMC,SGWC) // @Param neId query string true "NE ID" default(001) // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Network Element License Activation License Application Code // @Description Network Element License Activation License Application Code // @Router /ne/license/code [get] @@ -170,7 +170,7 @@ func (s *NeLicenseController) Code(c *gin.Context) { // @Produce json // @Param data body object true "Request Param" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Network element authorization activation status // @Description Network element authorization activation status // @Router /ne/license/change [post] @@ -222,7 +222,7 @@ func (s *NeLicenseController) Change(c *gin.Context) { // @Param neType query string true "NE Type" Enums(IMS,AMF,AUSF,UDM,SMF,PCF,NSSF,NRF,UPF,MME,CBC,OMC,SGWC) // @Param neId query string true "NE ID" default(001) // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Network element authorization activation status // @Description Network element authorization activation status // @Router /ne/license/state [get] diff --git a/src/modules/network_element/controller/ne_software.go b/src/modules/network_element/controller/ne_software.go index cfbd3999..95ed5177 100644 --- a/src/modules/network_element/controller/ne_software.go +++ b/src/modules/network_element/controller/ne_software.go @@ -35,7 +35,7 @@ type NeSoftwareController struct { // @Param neType query string true "NE Type" Enums(IMS,AMF,AUSF,UDM,SMF,PCF,NSSF,NRF,UPF,MME,CBC,OMC,SGWC) // @Param neId query string true "NE ID" default(001) // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary List of Network Element Software Packages // @Description List of Network Element Software Packages // @Router /ne/software/list [get] @@ -181,7 +181,7 @@ func (s *NeSoftwareController) Remove(c *gin.Context) { // @Produce json // @Param data body object true "Request Param" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Net Element package set to Net Element new version // @Description Net Element package set to Net Element new version // @Router /ne/software/newNeVersion [post] diff --git a/src/modules/network_element/controller/ne_version.go b/src/modules/network_element/controller/ne_version.go index 8f73ed69..4a8b5a0d 100644 --- a/src/modules/network_element/controller/ne_version.go +++ b/src/modules/network_element/controller/ne_version.go @@ -61,7 +61,7 @@ func (s *NeVersionController) Info(c *gin.Context) { // @Produce json // @Param data body object true "Request Param" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Network element version operation // @Description Network element version operation // @Router /ne/version/operate [post] diff --git a/src/modules/system/controller/sys_config.go b/src/modules/system/controller/sys_config.go index b1b8c0db..3b1ab116 100644 --- a/src/modules/system/controller/sys_config.go +++ b/src/modules/system/controller/sys_config.go @@ -42,7 +42,7 @@ type SysConfigController struct { // @Param pageNum query number true "pageNum" default(1) // @Param pageSize query number true "pageSize" default(10) // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Config Information List // @Description Config Information List // @Router /system/config/list [get] diff --git a/src/modules/system/controller/sys_dept.go b/src/modules/system/controller/sys_dept.go index 97fc26b6..693a85af 100644 --- a/src/modules/system/controller/sys_dept.go +++ b/src/modules/system/controller/sys_dept.go @@ -40,7 +40,7 @@ type SysDeptController struct { // @Param deptName query string false "deptName" // @Param status query string false "status" Enums(0, 1) // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Dept Information List // @Description Dept Information List // @Router /system/dept/list [get] diff --git a/src/modules/system/controller/sys_dict_data.go b/src/modules/system/controller/sys_dict_data.go index b454cecf..0a8cb6d4 100644 --- a/src/modules/system/controller/sys_dict_data.go +++ b/src/modules/system/controller/sys_dict_data.go @@ -43,7 +43,7 @@ type SysDictDataController struct { // @Param pageNum query number true "pageNum" default(1) // @Param pageSize query number true "pageSize" default(10) // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Dictionary Data List // @Description Dictionary Data List // @Router /system/dict/data/list [get] diff --git a/src/modules/system/controller/sys_dict_type.go b/src/modules/system/controller/sys_dict_type.go index 7fbad7c1..5d0158a4 100644 --- a/src/modules/system/controller/sys_dict_type.go +++ b/src/modules/system/controller/sys_dict_type.go @@ -42,7 +42,7 @@ type SysDictTypeController struct { // @Param pageNum query number true "pageNum" default(1) // @Param pageSize query number true "pageSize" default(10) // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Dictionary Type List // @Description Dictionary Type List // @Router /system/dict/type/list [get] diff --git a/src/modules/system/controller/sys_log_login.go b/src/modules/system/controller/sys_log_login.go index ea42d1eb..f7b5883d 100644 --- a/src/modules/system/controller/sys_log_login.go +++ b/src/modules/system/controller/sys_log_login.go @@ -45,7 +45,7 @@ type SysLogLoginController struct { // @Param pageNum query number true "pageNum" default(1) // @Param pageSize query number true "pageSize" default(10) // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary System Login Log List // @Description System Login Log List // @Router /system/log/login/list [get] diff --git a/src/modules/system/controller/sys_log_operate.go b/src/modules/system/controller/sys_log_operate.go index 4755dbf9..962451e4 100644 --- a/src/modules/system/controller/sys_log_operate.go +++ b/src/modules/system/controller/sys_log_operate.go @@ -42,7 +42,7 @@ type SysLogOperateController struct { // @Param pageNum query number true "pageNum" default(1) // @Param pageSize query number true "pageSize" default(10) // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary System Operation Log List // @Description System Operation Log List // @Router /system/log/operate/list [get] diff --git a/src/modules/system/controller/sys_menu.go b/src/modules/system/controller/sys_menu.go index 0644b8a2..314e84c8 100644 --- a/src/modules/system/controller/sys_menu.go +++ b/src/modules/system/controller/sys_menu.go @@ -39,7 +39,7 @@ type SysMenuController struct { // @Param menuName query string false "menuName" // @Param status query string false "status" Enums(0, 1) // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Menu Information List // @Description Menu Information List // @Router /system/menu/list [get] diff --git a/src/modules/system/controller/sys_post.go b/src/modules/system/controller/sys_post.go index 8a75bfac..e767c315 100644 --- a/src/modules/system/controller/sys_post.go +++ b/src/modules/system/controller/sys_post.go @@ -43,7 +43,7 @@ type SysPostController struct { // @Param pageNum query number true "pageNum" default(1) // @Param pageSize query number true "pageSize" default(10) // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Post Information List // @Description Post Information List // @Router /system/post/list [get] diff --git a/src/modules/system/controller/sys_profile.go b/src/modules/system/controller/sys_profile.go index 8465f050..5c414e52 100644 --- a/src/modules/system/controller/sys_profile.go +++ b/src/modules/system/controller/sys_profile.go @@ -49,7 +49,7 @@ type SysProfileController struct { // @Accept json // @Produce json // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Personal Information // @Description Personal Information // @Router /system/user/profile [get] @@ -101,7 +101,7 @@ func (s *SysProfileController) Info(c *gin.Context) { // @Produce json // @Param data body object true "Request Param" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Personal Information Modification // @Description Personal Information Modification // @Router /system/user/profile [put] @@ -208,7 +208,7 @@ func (s *SysProfileController) UpdateProfile(c *gin.Context) { // @Produce json // @Param data body object true "Request Param" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Personal Reset Password // @Description Personal Reset Password // @Router /system/user/profile/updatePwd [put] @@ -284,7 +284,7 @@ func (s *SysProfileController) UpdatePwd(c *gin.Context) { // @Produce json // @Param file formData file true "The file to upload." // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Personal avatar upload // @Description Personal avatar upload // @Router /system/user/profile/avatar [post] diff --git a/src/modules/system/controller/sys_role.go b/src/modules/system/controller/sys_role.go index 0c285c14..bceb943b 100644 --- a/src/modules/system/controller/sys_role.go +++ b/src/modules/system/controller/sys_role.go @@ -49,7 +49,7 @@ type SysRoleController struct { // @Param pageNum query number true "pageNum" default(1) // @Param pageSize query number true "pageSize" default(10) // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Role Information List // @Description Role Information List // @Router /system/role/list [get] diff --git a/src/modules/system/controller/sys_user.go b/src/modules/system/controller/sys_user.go index 0a0aeee5..b546bb38 100644 --- a/src/modules/system/controller/sys_user.go +++ b/src/modules/system/controller/sys_user.go @@ -58,7 +58,7 @@ type SysUserController struct { // @Param pageNum query number true "pageNum" default(1) // @Param pageSize query number true "pageSize" default(10) // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary User Information List // @Description User Information List // @Router /system/user/list [get] diff --git a/src/modules/tool/controller/iperf.go b/src/modules/tool/controller/iperf.go index f21f4912..6f226678 100644 --- a/src/modules/tool/controller/iperf.go +++ b/src/modules/tool/controller/iperf.go @@ -42,7 +42,7 @@ type IPerfController struct { // @Param neId query string true "NE ID" default(001) // @Param version query string true "Version" Enums(V2, V3) // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary iperf version information // @Description iperf version information // @Router /tool/iperf/v [get] @@ -76,7 +76,7 @@ func (s *IPerfController) Version(c *gin.Context) { // @Produce json // @Param data body object true "Request Param" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary iperf software installation // @Description iperf software installation // @Router /tool/iperf/i [post] @@ -112,7 +112,7 @@ func (s *IPerfController) Install(c *gin.Context) { // @Param rows query number false "Terminal display lines" default(40) // @Param access_token query string true "Authorization" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary (ws://) iperf software running // @Description (ws://) iperf software running // @Router /tool/iperf/run [get] diff --git a/src/modules/tool/controller/ping.go b/src/modules/tool/controller/ping.go index 17bf57a2..c8806a53 100644 --- a/src/modules/tool/controller/ping.go +++ b/src/modules/tool/controller/ping.go @@ -40,7 +40,7 @@ type PingController struct { // @Produce json // @Param data body object true "Request Param" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Ping for Basic Information Running // @Description Ping for Basic Information Running // @Router /tool/ping [post] @@ -69,7 +69,7 @@ func (s *PingController) Statistics(c *gin.Context) { // @Produce json // @Param access_token query string true "Authorization" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary (ws://) Ping for Local UNIX running // @Description (ws://) Ping for Local UNIX running // @Router /tool/ping [get] @@ -111,7 +111,7 @@ func (s *PingController) StatisticsOn(c *gin.Context) { // @Param neType query string true "NE Type" Enums(IMS,AMF,AUSF,UDM,SMF,PCF,NSSF,NRF,UPF,MME,CBC,OMC,SGWC) // @Param neId query string true "NE ID" default(001) // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Ping for version information on the network element side // @Description Ping for version information on the network element side // @Router /tool/ping/v [get] @@ -147,7 +147,7 @@ func (s *PingController) Version(c *gin.Context) { // @Param rows query number false "Terminal display lines" default(40) // @Param access_token query string true "Authorization" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary (ws://) Ping for UNIX runs on the network element side // @Description (ws://) Ping for UNIX runs on the network element side // @Router /tool/ping/run [get] diff --git a/src/modules/trace/controller/tcpdump.go b/src/modules/trace/controller/tcpdump.go index 0700e249..dd1efbf2 100644 --- a/src/modules/trace/controller/tcpdump.go +++ b/src/modules/trace/controller/tcpdump.go @@ -30,7 +30,7 @@ type TCPdumpController struct { // @Produce json // @Param data body object true "Request Param" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Network Element Capture Packet PACP Start // @Description Network Element Capture Packet PACP Start // @Router /trace/tcpdump/start [post] @@ -64,7 +64,7 @@ func (s *TCPdumpController) DumpStart(c *gin.Context) { // @Produce json // @Param data body object true "Request Param" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary Network Element Capture Packet PACP Stop // @Description Network Element Capture Packet PACP Stop // @Router /trace/tcpdump/stop [post] @@ -98,7 +98,7 @@ func (s *TCPdumpController) DumpStop(c *gin.Context) { // @Produce json // @Param data body object true "Request Param" // @Success 200 {object} object "Response Results" -// @Security ApiKeyAuth +// @Security TokenAuth // @Summary UPF Standard Edition Internal Grab Bag // @Description UPF Standard Edition Internal Grab Bag // @Router /trace/tcpdump/upf [post] diff --git a/swagger2docs/docs.go b/swagger2docs/docs.go index dab55c16..0f34d9ca 100644 --- a/swagger2docs/docs.go +++ b/swagger2docs/docs.go @@ -42,7 +42,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Get CAPTCHA", @@ -70,7 +70,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Getting Relationship Map Data", @@ -119,7 +119,7 @@ const docTemplate = `{ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Saving Relationship Diagram Data", @@ -158,7 +158,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Get relationship graph group name", @@ -186,7 +186,7 @@ const docTemplate = `{ "delete": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Deleting Relationship Diagram Data", @@ -223,7 +223,7 @@ const docTemplate = `{ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Slice file checking", @@ -262,7 +262,7 @@ const docTemplate = `{ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Slice file merge", @@ -301,7 +301,7 @@ const docTemplate = `{ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Sliced file upload", @@ -352,7 +352,7 @@ const docTemplate = `{ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Upload a file", @@ -400,7 +400,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Login User Information", @@ -428,7 +428,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Login User Routing Information", @@ -490,7 +490,7 @@ const docTemplate = `{ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "System Logout", @@ -518,7 +518,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Cache Service Information", @@ -546,7 +546,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Resource monitoring information loading", @@ -574,7 +574,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "System Online User List", @@ -602,7 +602,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Server Information", @@ -630,7 +630,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "List of files on the network element side", @@ -658,7 +658,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Get directories compressed to ZIP from the network element to the local area", @@ -686,7 +686,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Getting files from the network element to the local", @@ -714,7 +714,7 @@ const docTemplate = `{ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Sending files from local to network elements", @@ -742,7 +742,7 @@ const docTemplate = `{ "put": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Network element service operation", @@ -770,7 +770,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Viewing the contents of a file on the network element side", @@ -798,7 +798,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Network Element Parameter Configuration Data Information", @@ -863,7 +863,7 @@ const docTemplate = `{ "put": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Network element parameter configuration data modification", @@ -900,7 +900,7 @@ const docTemplate = `{ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Network element parameter configuration data added (array)", @@ -937,7 +937,7 @@ const docTemplate = `{ "delete": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Network element parameter configuration data deletion (array)", @@ -1011,7 +1011,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Network Element Parameter Configuration Available Attribute Values List Specify Network Element Type All Unpaged", @@ -1063,7 +1063,7 @@ const docTemplate = `{ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Network element host SSH method of authorization for password-free sending", @@ -1102,7 +1102,7 @@ const docTemplate = `{ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Checking the server environment by SSH method of Net Element Hosting", @@ -1141,7 +1141,7 @@ const docTemplate = `{ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "The network element host sends the command", @@ -1180,7 +1180,7 @@ const docTemplate = `{ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Network element host test connection", @@ -1219,7 +1219,7 @@ const docTemplate = `{ "put": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Network element information modification", @@ -1256,7 +1256,7 @@ const docTemplate = `{ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Network element information addition", @@ -1295,7 +1295,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Network element neType and neID queries", @@ -1355,7 +1355,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Network element information list", @@ -1391,7 +1391,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "The list of network element information is all unpaginated", @@ -1419,7 +1419,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Network element information state", @@ -1479,7 +1479,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Network element information", @@ -1516,7 +1516,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Network element neType and neID queries", @@ -1576,7 +1576,7 @@ const docTemplate = `{ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Network element authorization activation status", @@ -1615,7 +1615,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Network Element License Activation License Application Code", @@ -1675,7 +1675,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Net Element License Activation List", @@ -1735,7 +1735,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Network element authorization activation status", @@ -1795,7 +1795,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "List of Network Element Software Packages", @@ -1855,7 +1855,7 @@ const docTemplate = `{ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Net Element package set to Net Element new version", @@ -1894,7 +1894,7 @@ const docTemplate = `{ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Network element version operation", @@ -1933,7 +1933,7 @@ const docTemplate = `{ "delete": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Network element information deletion", @@ -1970,7 +1970,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Access Base Station Information List", @@ -2014,7 +2014,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Access to the base station status information list", @@ -2052,7 +2052,7 @@ const docTemplate = `{ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UE Session List Export", @@ -2091,7 +2091,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UE Session List", @@ -2161,7 +2161,7 @@ const docTemplate = `{ "delete": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UE Session Deletion", @@ -2198,7 +2198,7 @@ const docTemplate = `{ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "CDR Session List Export", @@ -2237,7 +2237,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "CDR Session List", @@ -2313,7 +2313,7 @@ const docTemplate = `{ "delete": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "CDR Session Delete", @@ -2350,7 +2350,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Online session user list information", @@ -2400,7 +2400,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Number of online session users", @@ -2438,7 +2438,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Access to statistical data", @@ -2533,7 +2533,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Get Statistical Headings", @@ -2585,7 +2585,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Access Base Station Information List", @@ -2629,7 +2629,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Access to the base station status information list", @@ -2667,7 +2667,7 @@ const docTemplate = `{ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UE Session List Export", @@ -2706,7 +2706,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UE Session List", @@ -2776,7 +2776,7 @@ const docTemplate = `{ "delete": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UE Session Deletion", @@ -2813,7 +2813,7 @@ const docTemplate = `{ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "CDR Session List Export", @@ -2852,7 +2852,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "CDR Session List", @@ -2928,7 +2928,7 @@ const docTemplate = `{ "delete": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "CDR Session Delete", @@ -2965,7 +2965,7 @@ const docTemplate = `{ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "CDR Session List Export", @@ -3004,7 +3004,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "CDR Session List", @@ -3074,7 +3074,7 @@ const docTemplate = `{ "delete": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "CDR Session Delete", @@ -3111,7 +3111,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Online session user list information", @@ -3175,7 +3175,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Number of online session users", @@ -3213,7 +3213,7 @@ const docTemplate = `{ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "CDR Session List Export", @@ -3252,7 +3252,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "CDR Session List", @@ -3328,7 +3328,7 @@ const docTemplate = `{ "delete": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "CDR Session Delete", @@ -3365,7 +3365,7 @@ const docTemplate = `{ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UDM Authenticated User Export", @@ -3393,7 +3393,7 @@ const docTemplate = `{ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UDM Authenticated User Import", @@ -3432,7 +3432,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UDM Authentication User List", @@ -3457,10 +3457,10 @@ const docTemplate = `{ } }, "/neData/udm/auth/resetData/{neId}": { - "post": { + "put": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UDM Authentication User Reload Data", @@ -3498,7 +3498,7 @@ const docTemplate = `{ "put": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UDM Authenticated User Modification", @@ -3543,7 +3543,7 @@ const docTemplate = `{ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UDM Authentication User Added", @@ -3590,7 +3590,7 @@ const docTemplate = `{ "delete": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UDM Authentication User Batch Deletion", @@ -3642,7 +3642,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UDM Authentication User Information", @@ -3685,7 +3685,7 @@ const docTemplate = `{ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UDM Authentication User Batch Add", @@ -3737,7 +3737,7 @@ const docTemplate = `{ "delete": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UDM Authenticated User Deletion", @@ -3782,7 +3782,7 @@ const docTemplate = `{ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UDM Subscriber User Export", @@ -3821,7 +3821,7 @@ const docTemplate = `{ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UDM Subscriber User Import", @@ -3860,7 +3860,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UDM Subscriber User List", @@ -3885,10 +3885,10 @@ const docTemplate = `{ } }, "/neData/udm/sub/resetData/{neId}": { - "post": { + "put": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UDM Subscriber User Reload Data", @@ -3926,7 +3926,7 @@ const docTemplate = `{ "put": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UDM Subscriber User Modification", @@ -3971,7 +3971,7 @@ const docTemplate = `{ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UDM Subscriber User Added", @@ -4018,7 +4018,7 @@ const docTemplate = `{ "delete": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UDM Subscriber User Batch Deletion", @@ -4071,7 +4071,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UDM Subscriber User Information", @@ -4114,7 +4114,7 @@ const docTemplate = `{ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UDM Subscriber User Batch Add", @@ -4167,7 +4167,7 @@ const docTemplate = `{ "delete": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UDM Subscriber User Deletion", @@ -4212,7 +4212,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Total number of flows N3 upstream N6 downstream", @@ -4285,7 +4285,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Config Information List", @@ -4337,7 +4337,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Dept Information List", @@ -4395,7 +4395,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Dictionary Data List", @@ -4447,7 +4447,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Dictionary Type List", @@ -4499,7 +4499,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "System Login Log List", @@ -4551,7 +4551,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "System Operation Log List", @@ -4603,7 +4603,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Menu Information List", @@ -4649,7 +4649,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Post Information List", @@ -4701,7 +4701,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Role Information List", @@ -4753,7 +4753,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "User Information List", @@ -4805,7 +4805,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Personal Information", @@ -4831,7 +4831,7 @@ const docTemplate = `{ "put": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Personal Information Modification", @@ -4870,7 +4870,7 @@ const docTemplate = `{ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Personal avatar upload", @@ -4907,7 +4907,7 @@ const docTemplate = `{ "put": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Personal Reset Password", @@ -4946,7 +4946,7 @@ const docTemplate = `{ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "iperf software installation", @@ -4985,7 +4985,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "(ws://) iperf software running", @@ -5066,7 +5066,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "iperf version information", @@ -5137,7 +5137,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "(ws://) Ping for Local UNIX running", @@ -5172,7 +5172,7 @@ const docTemplate = `{ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Ping for Basic Information Running", @@ -5211,7 +5211,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "(ws://) Ping for UNIX runs on the network element side", @@ -5292,7 +5292,7 @@ const docTemplate = `{ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Ping for version information on the network element side", @@ -5352,7 +5352,7 @@ const docTemplate = `{ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Network Element Capture Packet PACP Start", @@ -5391,7 +5391,7 @@ const docTemplate = `{ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Network Element Capture Packet PACP Stop", @@ -5430,7 +5430,7 @@ const docTemplate = `{ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UPF Standard Edition Internal Grab Bag", @@ -5574,7 +5574,7 @@ const docTemplate = `{ } }, "securityDefinitions": { - "ApiKeyAuth": { + "TokenAuth": { "description": "Get the key through the common/authorization System Login, fill in content \"Bearer \u003caccess_token\u003e\"", "type": "apiKey", "name": "Authorization", diff --git a/swagger2docs/swagger.json b/swagger2docs/swagger.json index 3c220958..b5ac917b 100644 --- a/swagger2docs/swagger.json +++ b/swagger2docs/swagger.json @@ -40,7 +40,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Get CAPTCHA", @@ -68,7 +68,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Getting Relationship Map Data", @@ -117,7 +117,7 @@ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Saving Relationship Diagram Data", @@ -156,7 +156,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Get relationship graph group name", @@ -184,7 +184,7 @@ "delete": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Deleting Relationship Diagram Data", @@ -221,7 +221,7 @@ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Slice file checking", @@ -260,7 +260,7 @@ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Slice file merge", @@ -299,7 +299,7 @@ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Sliced file upload", @@ -350,7 +350,7 @@ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Upload a file", @@ -398,7 +398,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Login User Information", @@ -426,7 +426,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Login User Routing Information", @@ -488,7 +488,7 @@ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "System Logout", @@ -516,7 +516,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Cache Service Information", @@ -544,7 +544,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Resource monitoring information loading", @@ -572,7 +572,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "System Online User List", @@ -600,7 +600,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Server Information", @@ -628,7 +628,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "List of files on the network element side", @@ -656,7 +656,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Get directories compressed to ZIP from the network element to the local area", @@ -684,7 +684,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Getting files from the network element to the local", @@ -712,7 +712,7 @@ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Sending files from local to network elements", @@ -740,7 +740,7 @@ "put": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Network element service operation", @@ -768,7 +768,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Viewing the contents of a file on the network element side", @@ -796,7 +796,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Network Element Parameter Configuration Data Information", @@ -861,7 +861,7 @@ "put": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Network element parameter configuration data modification", @@ -898,7 +898,7 @@ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Network element parameter configuration data added (array)", @@ -935,7 +935,7 @@ "delete": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Network element parameter configuration data deletion (array)", @@ -1009,7 +1009,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Network Element Parameter Configuration Available Attribute Values List Specify Network Element Type All Unpaged", @@ -1061,7 +1061,7 @@ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Network element host SSH method of authorization for password-free sending", @@ -1100,7 +1100,7 @@ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Checking the server environment by SSH method of Net Element Hosting", @@ -1139,7 +1139,7 @@ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "The network element host sends the command", @@ -1178,7 +1178,7 @@ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Network element host test connection", @@ -1217,7 +1217,7 @@ "put": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Network element information modification", @@ -1254,7 +1254,7 @@ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Network element information addition", @@ -1293,7 +1293,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Network element neType and neID queries", @@ -1353,7 +1353,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Network element information list", @@ -1389,7 +1389,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "The list of network element information is all unpaginated", @@ -1417,7 +1417,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Network element information state", @@ -1477,7 +1477,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Network element information", @@ -1514,7 +1514,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Network element neType and neID queries", @@ -1574,7 +1574,7 @@ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Network element authorization activation status", @@ -1613,7 +1613,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Network Element License Activation License Application Code", @@ -1673,7 +1673,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Net Element License Activation List", @@ -1733,7 +1733,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Network element authorization activation status", @@ -1793,7 +1793,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "List of Network Element Software Packages", @@ -1853,7 +1853,7 @@ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Net Element package set to Net Element new version", @@ -1892,7 +1892,7 @@ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Network element version operation", @@ -1931,7 +1931,7 @@ "delete": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Network element information deletion", @@ -1968,7 +1968,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Access Base Station Information List", @@ -2012,7 +2012,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Access to the base station status information list", @@ -2050,7 +2050,7 @@ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UE Session List Export", @@ -2089,7 +2089,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UE Session List", @@ -2159,7 +2159,7 @@ "delete": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UE Session Deletion", @@ -2196,7 +2196,7 @@ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "CDR Session List Export", @@ -2235,7 +2235,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "CDR Session List", @@ -2311,7 +2311,7 @@ "delete": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "CDR Session Delete", @@ -2348,7 +2348,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Online session user list information", @@ -2398,7 +2398,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Number of online session users", @@ -2436,7 +2436,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Access to statistical data", @@ -2531,7 +2531,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Get Statistical Headings", @@ -2583,7 +2583,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Access Base Station Information List", @@ -2627,7 +2627,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Access to the base station status information list", @@ -2665,7 +2665,7 @@ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UE Session List Export", @@ -2704,7 +2704,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UE Session List", @@ -2774,7 +2774,7 @@ "delete": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UE Session Deletion", @@ -2811,7 +2811,7 @@ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "CDR Session List Export", @@ -2850,7 +2850,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "CDR Session List", @@ -2926,7 +2926,7 @@ "delete": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "CDR Session Delete", @@ -2963,7 +2963,7 @@ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "CDR Session List Export", @@ -3002,7 +3002,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "CDR Session List", @@ -3072,7 +3072,7 @@ "delete": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "CDR Session Delete", @@ -3109,7 +3109,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Online session user list information", @@ -3173,7 +3173,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Number of online session users", @@ -3211,7 +3211,7 @@ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "CDR Session List Export", @@ -3250,7 +3250,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "CDR Session List", @@ -3326,7 +3326,7 @@ "delete": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "CDR Session Delete", @@ -3363,7 +3363,7 @@ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UDM Authenticated User Export", @@ -3391,7 +3391,7 @@ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UDM Authenticated User Import", @@ -3430,7 +3430,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UDM Authentication User List", @@ -3455,10 +3455,10 @@ } }, "/neData/udm/auth/resetData/{neId}": { - "post": { + "put": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UDM Authentication User Reload Data", @@ -3496,7 +3496,7 @@ "put": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UDM Authenticated User Modification", @@ -3541,7 +3541,7 @@ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UDM Authentication User Added", @@ -3588,7 +3588,7 @@ "delete": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UDM Authentication User Batch Deletion", @@ -3640,7 +3640,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UDM Authentication User Information", @@ -3683,7 +3683,7 @@ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UDM Authentication User Batch Add", @@ -3735,7 +3735,7 @@ "delete": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UDM Authenticated User Deletion", @@ -3780,7 +3780,7 @@ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UDM Subscriber User Export", @@ -3819,7 +3819,7 @@ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UDM Subscriber User Import", @@ -3858,7 +3858,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UDM Subscriber User List", @@ -3883,10 +3883,10 @@ } }, "/neData/udm/sub/resetData/{neId}": { - "post": { + "put": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UDM Subscriber User Reload Data", @@ -3924,7 +3924,7 @@ "put": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UDM Subscriber User Modification", @@ -3969,7 +3969,7 @@ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UDM Subscriber User Added", @@ -4016,7 +4016,7 @@ "delete": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UDM Subscriber User Batch Deletion", @@ -4069,7 +4069,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UDM Subscriber User Information", @@ -4112,7 +4112,7 @@ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UDM Subscriber User Batch Add", @@ -4165,7 +4165,7 @@ "delete": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UDM Subscriber User Deletion", @@ -4210,7 +4210,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Total number of flows N3 upstream N6 downstream", @@ -4283,7 +4283,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Config Information List", @@ -4335,7 +4335,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Dept Information List", @@ -4393,7 +4393,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Dictionary Data List", @@ -4445,7 +4445,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Dictionary Type List", @@ -4497,7 +4497,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "System Login Log List", @@ -4549,7 +4549,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "System Operation Log List", @@ -4601,7 +4601,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Menu Information List", @@ -4647,7 +4647,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Post Information List", @@ -4699,7 +4699,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Role Information List", @@ -4751,7 +4751,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "User Information List", @@ -4803,7 +4803,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Personal Information", @@ -4829,7 +4829,7 @@ "put": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Personal Information Modification", @@ -4868,7 +4868,7 @@ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Personal avatar upload", @@ -4905,7 +4905,7 @@ "put": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Personal Reset Password", @@ -4944,7 +4944,7 @@ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "iperf software installation", @@ -4983,7 +4983,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "(ws://) iperf software running", @@ -5064,7 +5064,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "iperf version information", @@ -5135,7 +5135,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "(ws://) Ping for Local UNIX running", @@ -5170,7 +5170,7 @@ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Ping for Basic Information Running", @@ -5209,7 +5209,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "(ws://) Ping for UNIX runs on the network element side", @@ -5290,7 +5290,7 @@ "get": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Ping for version information on the network element side", @@ -5350,7 +5350,7 @@ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Network Element Capture Packet PACP Start", @@ -5389,7 +5389,7 @@ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "Network Element Capture Packet PACP Stop", @@ -5428,7 +5428,7 @@ "post": { "security": [ { - "ApiKeyAuth": [] + "TokenAuth": [] } ], "description": "UPF Standard Edition Internal Grab Bag", @@ -5572,7 +5572,7 @@ } }, "securityDefinitions": { - "ApiKeyAuth": { + "TokenAuth": { "description": "Get the key through the common/authorization System Login, fill in content \"Bearer \u003caccess_token\u003e\"", "type": "apiKey", "name": "Authorization", diff --git a/swagger2docs/swagger.yaml b/swagger2docs/swagger.yaml index 130981c4..b271a0d0 100644 --- a/swagger2docs/swagger.yaml +++ b/swagger2docs/swagger.yaml @@ -34,7 +34,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Get CAPTCHA tags: - common @@ -66,7 +66,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Getting Relationship Map Data tags: - chart @@ -90,7 +90,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Saving Relationship Diagram Data tags: - chart @@ -113,7 +113,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Deleting Relationship Diagram Data tags: - chart @@ -130,7 +130,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Get relationship graph group name tags: - chart @@ -154,7 +154,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Slice file checking tags: - common/file @@ -178,7 +178,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Slice file merge tags: - common/file @@ -211,7 +211,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Sliced file upload tags: - common/file @@ -242,7 +242,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Upload a file tags: - common/file @@ -259,7 +259,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Login User Information tags: - common/authorization @@ -276,7 +276,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Login User Routing Information tags: - common/authorization @@ -315,7 +315,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: System Logout tags: - common/authorization @@ -332,7 +332,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Cache Service Information tags: - monitor/cache @@ -349,7 +349,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Resource monitoring information loading tags: - monitor @@ -366,7 +366,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: System Online User List tags: - monitor/online @@ -383,7 +383,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Server Information tags: - monitor @@ -406,7 +406,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Network element information deletion tags: - network_element/info @@ -423,7 +423,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: List of files on the network element side tags: - network_element/action @@ -441,7 +441,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Get directories compressed to ZIP from the network element to the local area tags: @@ -459,7 +459,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Getting files from the network element to the local tags: - network_element/action @@ -476,7 +476,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Sending files from local to network elements tags: - network_element/action @@ -493,7 +493,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Network element service operation tags: - network_element/action @@ -510,7 +510,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Viewing the contents of a file on the network element side tags: - network_element/action @@ -563,7 +563,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Network element parameter configuration data deletion (array) tags: - network_element/config @@ -610,7 +610,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Network Element Parameter Configuration Data Information tags: - network_element/config @@ -633,7 +633,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Network element parameter configuration data added (array) tags: - network_element/config @@ -656,7 +656,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Network element parameter configuration data modification tags: - network_element/config @@ -694,7 +694,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Network Element Parameter Configuration Available Attribute Values List Specify Network Element Type All Unpaged tags: @@ -720,7 +720,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Network element host SSH method of authorization for password-free sending tags: @@ -745,7 +745,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Checking the server environment by SSH method of Net Element Hosting tags: - network_element/host @@ -769,7 +769,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: The network element host sends the command tags: - network_element/host @@ -793,7 +793,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Network element host test connection tags: - network_element/host @@ -817,7 +817,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Network element information addition tags: - network_element/info @@ -840,7 +840,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Network element information modification tags: - network_element/info @@ -863,7 +863,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Network element information tags: - network_element/info @@ -906,7 +906,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Network element neType and neID queries tags: - network_element/info @@ -928,7 +928,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Network element information list tags: - network_element/info @@ -945,7 +945,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: The list of network element information is all unpaginated tags: - network_element/info @@ -988,7 +988,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Network element information state tags: - network_element/info @@ -1031,7 +1031,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Network element neType and neID queries tags: - network_element/license @@ -1055,7 +1055,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Network element authorization activation status tags: - network_element/license @@ -1098,7 +1098,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Network Element License Activation License Application Code tags: - network_element/license @@ -1141,7 +1141,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Net Element License Activation List tags: - network_element/license @@ -1184,7 +1184,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Network element authorization activation status tags: - network_element/license @@ -1227,7 +1227,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: List of Network Element Software Packages tags: - network_element/software @@ -1251,7 +1251,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Net Element package set to Net Element new version tags: - network_element/software @@ -1275,7 +1275,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Network element version operation tags: - network_element/version @@ -1303,7 +1303,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Access Base Station Information List tags: - network_data/amf @@ -1327,7 +1327,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Access to the base station status information list tags: - network_data/amf @@ -1350,7 +1350,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: UE Session Deletion tags: - network_data/amf @@ -1374,7 +1374,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: UE Session List Export tags: - network_data/amf @@ -1421,7 +1421,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: UE Session List tags: - network_data/amf @@ -1444,7 +1444,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: CDR Session Delete tags: - network_data/ims @@ -1468,7 +1468,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: CDR Session List Export tags: - network_data/ims @@ -1519,7 +1519,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: CDR Session List tags: - network_data/ims @@ -1551,7 +1551,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Online session user list information tags: - network_data/ims @@ -1575,7 +1575,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Number of online session users tags: - network_data/ims @@ -1646,7 +1646,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Access to statistical data tags: - network_data/kpi @@ -1683,7 +1683,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Get Statistical Headings tags: - network_data/kpi @@ -1711,7 +1711,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Access Base Station Information List tags: - network_data/mme @@ -1735,7 +1735,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Access to the base station status information list tags: - network_data/mme @@ -1758,7 +1758,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: UE Session Deletion tags: - network_data/mme @@ -1782,7 +1782,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: UE Session List Export tags: - network_data/mme @@ -1829,7 +1829,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: UE Session List tags: - network_data/mme @@ -1852,7 +1852,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: CDR Session Delete tags: - network_data/sgwc @@ -1876,7 +1876,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: CDR Session List Export tags: - network_data/sgwc @@ -1927,7 +1927,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: CDR Session List tags: - network_data/sgwc @@ -1950,7 +1950,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: CDR Session Delete tags: - network_data/smf @@ -1974,7 +1974,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: CDR Session List Export tags: - network_data/smf @@ -2021,7 +2021,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: CDR Session List tags: - network_data/smf @@ -2063,7 +2063,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Online session user list information tags: - network_data/smf @@ -2087,7 +2087,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Number of online session users tags: - network_data/smf @@ -2110,7 +2110,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: CDR Session Delete tags: - network_data/smsc @@ -2134,7 +2134,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: CDR Session List Export tags: - network_data/smsc @@ -2185,7 +2185,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: CDR Session List tags: - network_data/smsc @@ -2215,7 +2215,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: UDM Authentication User Added tags: - network_data/udm/auth @@ -2244,7 +2244,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: UDM Authenticated User Modification tags: - network_data/udm/auth @@ -2278,7 +2278,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: UDM Authentication User Batch Deletion tags: - network_data/udm/auth @@ -2307,7 +2307,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: UDM Authenticated User Deletion tags: - network_data/udm/auth @@ -2335,7 +2335,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: UDM Authentication User Information tags: - network_data/udm/auth @@ -2369,7 +2369,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: UDM Authentication User Batch Add tags: - network_data/udm/auth @@ -2386,7 +2386,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: UDM Authenticated User Export tags: - network_data/udm/auth @@ -2410,7 +2410,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: UDM Authenticated User Import tags: - network_data/udm/auth @@ -2427,12 +2427,12 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: UDM Authentication User List tags: - network_data/udm/auth /neData/udm/auth/resetData/{neId}: - post: + put: consumes: - application/json description: UDM Authentication User Reload Data @@ -2451,7 +2451,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: UDM Authentication User Reload Data tags: - network_data/udm/auth @@ -2481,7 +2481,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: UDM Subscriber User Added tags: - network_data/udm/sub @@ -2510,7 +2510,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: UDM Subscriber User Modification tags: - network_data/udm/sub @@ -2545,7 +2545,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: UDM Subscriber User Batch Deletion tags: - network_data/udm/sub @@ -2574,7 +2574,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: UDM Subscriber User Deletion tags: - network_data/udm/sub @@ -2602,7 +2602,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: UDM Subscriber User Information tags: - network_data/udm/sub @@ -2637,7 +2637,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: UDM Subscriber User Batch Add tags: - network_data/udm/sub @@ -2661,7 +2661,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: UDM Subscriber User Export tags: - network_data/udm/sub @@ -2685,7 +2685,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: UDM Subscriber User Import tags: - network_data/udm/sub @@ -2702,12 +2702,12 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: UDM Subscriber User List tags: - network_data/udm/sub /neData/udm/sub/resetData/{neId}: - post: + put: consumes: - application/json description: UDM Subscriber User Reload Data @@ -2726,7 +2726,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: UDM Subscriber User Reload Data tags: - network_data/udm/sub @@ -2759,7 +2759,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Total number of flows N3 upstream N6 downstream tags: - network_data/upf @@ -2808,7 +2808,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Config Information List tags: - system/config @@ -2845,7 +2845,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Dept Information List tags: - system/dept @@ -2879,7 +2879,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Dictionary Data List tags: - system/dict/data @@ -2913,7 +2913,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Dictionary Type List tags: - system/dict/type @@ -2947,7 +2947,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: System Login Log List tags: - system/log/login @@ -2981,7 +2981,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: System Operation Log List tags: - system/log/operate @@ -3010,7 +3010,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Menu Information List tags: - system/menu @@ -3044,7 +3044,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Post Information List tags: - system/post @@ -3078,7 +3078,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Role Information List tags: - system/role @@ -3112,7 +3112,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: User Information List tags: - system/user @@ -3129,7 +3129,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Personal Information tags: - system/user/profile @@ -3152,7 +3152,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Personal Information Modification tags: - system/user/profile @@ -3175,7 +3175,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Personal avatar upload tags: - system/user/profile @@ -3199,7 +3199,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Personal Reset Password tags: - system/user/profile @@ -3223,7 +3223,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: iperf software installation tags: - tool/iperf @@ -3281,7 +3281,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: (ws://) iperf software running tags: - tool/iperf @@ -3332,7 +3332,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: iperf version information tags: - tool/iperf @@ -3355,7 +3355,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: (ws://) Ping for Local UNIX running tags: - tool/ping @@ -3378,7 +3378,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Ping for Basic Information Running tags: - tool/ping @@ -3436,7 +3436,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: (ws://) Ping for UNIX runs on the network element side tags: - tool/ping @@ -3479,7 +3479,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Ping for version information on the network element side tags: - tool/ping @@ -3503,7 +3503,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Network Element Capture Packet PACP Start tags: - trace/tcpdump @@ -3527,7 +3527,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: Network Element Capture Packet PACP Stop tags: - trace/tcpdump @@ -3551,7 +3551,7 @@ paths: schema: type: object security: - - ApiKeyAuth: [] + - TokenAuth: [] summary: UPF Standard Edition Internal Grab Bag tags: - trace/tcpdump @@ -3635,7 +3635,7 @@ schemes: - http - https securityDefinitions: - ApiKeyAuth: + TokenAuth: description: Get the key through the common/authorization System Login, fill in content "Bearer " in: header