From 55018c8ab69f93463376ed4d8c81e7849ddc3d64 Mon Sep 17 00:00:00 2001 From: yusing Date: Sun, 17 Aug 2025 00:40:57 +0800 Subject: [PATCH] fix(route): update HealthJSON field to exclude from JSON serialization --- internal/route/route.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/route/route.go b/internal/route/route.go index fe81a325..5aeae625 100644 --- a/internal/route/route.go +++ b/internal/route/route.go @@ -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:"-"` }