feat: swagger接口文档更新1.0.8改TokenAuth
This commit is contained in:
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user