feat: swagger接口文档更新1.0.8改TokenAuth

This commit is contained in:
TsMask
2025-01-24 09:40:28 +08:00
parent a431963e36
commit bfe898d15f
43 changed files with 490 additions and 490 deletions

View File

@@ -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]