fix(docs): update swagger api (#20100)

This commit is contained in:
屈轩
2024-04-22 16:24:28 +08:00
committed by GitHub
parent ec6ecdb168
commit 74cdcf7e6d
62 changed files with 239550 additions and 220522 deletions
+2
View File
@@ -27,6 +27,7 @@ import (
"yunion.io/x/onecloud/pkg/util/stringutils2"
)
// +onecloud:swagger-gen-ignore
type SAlertJointsManager struct {
db.SJointResourceBaseManager
}
@@ -41,6 +42,7 @@ func NewAlertJointsManager(
}
}
// +onecloud:swagger-gen-ignore
type SAlertJointsBase struct {
db.SVirtualJointResourceBase
+2
View File
@@ -35,6 +35,7 @@ const (
AlertNotificationUsedByMigrationAlert = monitor.AlertNotificationUsedByMigrationAlert
)
// +onecloud:swagger-gen-ignore
type SAlertNotificationManager struct {
SAlertJointsManager
}
@@ -56,6 +57,7 @@ func init() {
})
}
// +onecloud:swagger-gen-ignore
type SAlertnotification struct {
SAlertJointsBase
NotificationId string `width:"36" charset:"ascii" nullable:"false" list:"user" create:"required"`
@@ -53,10 +53,12 @@ func GetAlertResourceAlertManager() *SAlertResourceAlertManager {
return alertResourceAlertManager
}
// +onecloud:swagger-gen-ignore
type SAlertResourceAlertManager struct {
SAlertResourceJointsManager
}
// +onecloud:swagger-gen-ignore
type SAlertResourceAlert struct {
SAlertResourceJointsBase
@@ -34,10 +34,12 @@ type IAlertResourceJointModel interface {
GetDetails(base monitor.AlertResourceJointBaseDetails, isList bool) interface{}
}
// +onecloud:swagger-gen-ignore
type SAlertResourceJointsManager struct {
db.SJointResourceBaseManager
}
// +onecloud:swagger-gen-ignore
type SAlertResourceJointsBase struct {
db.SJointResourceBase