mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-17 05:59:42 +02:00
fix(api): update health endpoint to return detailed health info
- Changed the response type of the health endpoint to use a new HealthMap type for better clarity. - Updated the health information retrieval method to GetHealthInfoWithoutDetail for improved accuracy in the response. - Adjusted Swagger documentation to reflect the new response structure.
This commit is contained in:
@@ -85,8 +85,6 @@ type (
|
||||
HealthInfoWithoutDetail
|
||||
Detail string `json:"detail"`
|
||||
} // @name HealthInfo
|
||||
|
||||
HealthMap = map[string]HealthStatusString // @name HealthMap
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
Reference in New Issue
Block a user