mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-24 17:58:45 +02: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"`
|
Idlewatcher *types.IdlewatcherConfig `json:"idlewatcher,omitempty" extensions:"x-nullable"`
|
||||||
HealthMon types.HealthMonitor `json:"health,omitempty" swaggerignore:"true"`
|
HealthMon types.HealthMonitor `json:"health,omitempty" swaggerignore:"true"`
|
||||||
// for swagger
|
// for swagger
|
||||||
HealthJSON *types.HealthJSON `form:"health"`
|
HealthJSON *types.HealthJSON `json:"-" form:"health"`
|
||||||
|
|
||||||
Metadata `deserialize:"-"`
|
Metadata `deserialize:"-"`
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user