Refactor API tags in swagger.yaml to use shortened prefixes

- Updated tags from 'network_data' to 'ne_data' for consistency and brevity.
- Changed 'network_element' to 'ne' across various endpoints for improved readability.
- Adjusted related descriptions in the tags section to reflect the new naming conventions.
This commit is contained in:
TsMask
2025-08-21 14:30:09 +08:00
parent a72aa00f89
commit 45e226ce1a
171 changed files with 1177 additions and 741 deletions

44
main.go
View File

@@ -48,50 +48,50 @@ var retryInterval = 5 * time.Second // 重试间隔时间
// @tag.name monitor/online
// @tag.description monitor system user online interface
//
// @tag.name network_data
// @tag.name ne_data
// @tag.description network data interface
// @tag.name network_data/alarm
// @tag.name ne_data/alarm
// @tag.description network data alarm interface
// @tag.name network_data/kpi
// @tag.name ne_data/kpi
// @tag.description network data kpi interface
// @tag.name network_data/amf
// @tag.name ne_data/amf
// @tag.description network data amf interface
// @tag.name network_data/ims
// @tag.name ne_data/ims
// @tag.description network data ims interface
// @tag.name network_data/mme
// @tag.name ne_data/mme
// @tag.description network data mme interface
// @tag.name network_data/sgwc
// @tag.name ne_data/sgwc
// @tag.description network data sgwc interface
// @tag.name network_data/smf
// @tag.name ne_data/smf
// @tag.description network data smf interface
// @tag.name network_data/smsc
// @tag.name ne_data/smsc
// @tag.description network data smsc interface
// @tag.name network_data/udm/auth
// @tag.name ne_data/udm/auth
// @tag.description network data udm authentication interface
// @tag.name network_data/udm/sub
// @tag.name ne_data/udm/sub
// @tag.description network data udm subscriber interface
// @tag.name network_data/udm/voip
// @tag.name ne_data/udm/voip
// @tag.description network data udm voip interface
// @tag.name network_data/udm/volte-ims
// @tag.name ne_data/udm/volte-ims
// @tag.description network data udm volte interface
// @tag.name network_data/upf
// @tag.name ne_data/upf
// @tag.description network data upf interface
//
// @tag.name network_element
// @tag.name ne
// @tag.description network element interface
// @tag.name network_element/action
// @tag.name ne/action
// @tag.description network element operating interface
// @tag.name network_element/info
// @tag.name ne/info
// @tag.description network element information interface
// @tag.name network_element/host
// @tag.name ne/host
// @tag.description network element host interface
// @tag.name network_element/license
// @tag.name ne/license
// @tag.description network element license interface
// @tag.name network_element/software
// @tag.name ne/software
// @tag.description network element software interface
// @tag.name network_element/version
// @tag.name ne/version
// @tag.description network element version interface
// @tag.name network_element/config
// @tag.name ne/config
// @tag.description network element config interface
//
// @tag.name system