Releases: derekdowling/go-json-spec-handler
Releases · derekdowling/go-json-spec-handler
NewRequestObject
Additional API call for making http requests from the backend using the JSON Spec and additional spec checking to accompany it.
Errorless Send
Send will always return an http response now, with worst case being a 500. This eliminates the potential for recursive errors, and will make people's errchecks happy now.
Minor Improvements
- Switched argument order for Response and Parse functions to match http.Handler interface.
- Request Content-Type header checking
- More documentation
Parse, Object, Unmarshal Validation
Achieved via Govalidator
Simplified API
- Implements new Sendable type and a unified Response object
- Specification Errors
- Rounded out JSON Spec Types
Bare minimum MVP
- Working parsing and sending of requests and responses
- Convenience functions
- Opinionated errors that follow JSON API Spec
Alpha as Shit
I will be breaking things like crazy as I implement new features, add tests, and find new use cases.