Use generated interface

This commit is contained in:
2025-01-13 11:26:18 +01:00
parent c3563878b7
commit c7cccf2ec1
5 changed files with 23 additions and 15 deletions

View File

@ -50,7 +50,7 @@ type ErrorResponse struct {
Code int `json:"code"`
// Details Additional error details when available
Details *map[string]interface{} `json:"details"`
Details *map[string]interface{} `json:"details,omitempty"`
// Message Human-readable error message
Message string `json:"message"`