https://github.com/leoweyr/go-http-api-contract-io
Automatically handle strict request decoding, transparent validation with JSON-tag reflection, and standardized JSON responses.
https://github.com/leoweyr/go-http-api-contract-io
api-contract api-integration clean-code dx go-http golang http-request http-server json-response request-validation restful-api standardization
Last synced: 8 days ago
JSON representation
Automatically handle strict request decoding, transparent validation with JSON-tag reflection, and standardized JSON responses.
- Host: GitHub
- URL: https://github.com/leoweyr/go-http-api-contract-io
- Owner: leoweyr
- License: apache-2.0
- Created: 2026-04-25T10:05:09.000Z (about 2 months ago)
- Default Branch: develop
- Last Pushed: 2026-06-08T04:32:48.000Z (14 days ago)
- Last Synced: 2026-06-08T06:28:25.381Z (13 days ago)
- Topics: api-contract, api-integration, clean-code, dx, go-http, golang, http-request, http-server, json-response, request-validation, restful-api, standardization
- Language: Go
- Homepage:
- Size: 24.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Go HTTP API Contract IO
Automatically handle strict request decoding, transparent validation with JSON-tag reflection, and standardized JSON responses.
The library generates a standardized error response body designed for consistent API communication:
```json
{
"error": {
"message": "VALIDATION_FAILED",
"details": {}
}
}
```