nvalid - generate http endpoint validators for use with nvelope

March 12, 2022 ยท View on GitHub

GoDoc unit tests report card codecov

Install:

go get github.com/muir/nvalid

Nvalid is a wrapper around kin-openapi to make it easy for nvelope to validate requests and responses.

kin-openapi is a package that parses and manipulates OpenAPI2 and OpenAPI3 files. It can also validate requests and responses.

nvelope applies dependency injection to building HTTP endpoint handlers to reduce the boilerplate to almost nothing.

See the example in the documentation.