fix(json): ensure valid json

This commit is contained in:
yusing
2025-10-26 16:38:08 +08:00
parent 51fc5f017a
commit 51295be463
3 changed files with 4 additions and 4 deletions

View File

@@ -58,7 +58,7 @@ type (
LastSeenStr string `json:"lastSeenStr"`
Detail string `json:"detail"`
URL string `json:"url"`
Extra *HealthExtra `json:"extra" extensions:"x-nullable"`
Extra *HealthExtra `json:"extra,omitempty" extensions:"x-nullable"`
} // @name HealthJSON
HealthJSONRepr struct {