Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 1019 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 1019 Bytes

nvalid - generate http endpoint validators for use with nvelope

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.