package api // ResponseEnvelope is the standard wrapper for EZ-API JSON responses. // Code is a stable business code string (e.g., ok, invalid_request, not_found). // Message is empty for success and mirrors the top-level error for failures. // Data holds the original response payload. // swagger:model ResponseEnvelope type ResponseEnvelope struct { Code string `json:"code" example:"ok"` Data any `json:"data" swaggertype:"object"` Message string `json:"message" example:""` }