Consistent HTTP request and response handling for Go servers and clients, with strict JSON decoding, DTO-based validation, and standardized API errors.
go get go.leoweyr.com/go-http-api-contract-io/v3The library generates a standardized error response body designed for consistent API communication:
{
"error": {
"message": "VALIDATION_FAILED",
"details": {}
}
}