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