fix(api): missing health field for route in docs and generated api code

This commit is contained in:
yusing
2025-08-17 14:33:53 +08:00
parent c19d82c876
commit e52c86e0b7
4 changed files with 254 additions and 7 deletions

View File

@@ -53,7 +53,7 @@ type (
Idlewatcher *types.IdlewatcherConfig `json:"idlewatcher,omitempty" extensions:"x-nullable"`
HealthMon types.HealthMonitor `json:"health,omitempty" swaggerignore:"true"`
// for swagger
HealthJSON *types.HealthJSON `json:"-" form:"health"`
HealthJSON *types.HealthJSON `json:",omitempty" form:"health"`
Metadata `deserialize:"-"`
}