mirror of
https://github.com/yusing/godoxy.git
synced 2026-03-20 08:35:11 +01:00
fix(route): update HealthJSON field to exclude from JSON serialization
This commit is contained in:
@@ -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 `form:"health"`
|
||||
HealthJSON *types.HealthJSON `json:"-" form:"health"`
|
||||
|
||||
Metadata `deserialize:"-"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user