Skip to content

Releases

v0.2.0

Choose a tag to compare

@AndyCross AndyCross released this 18 Nov 19:00

Validation from struct tags: minimum, maximum, minLength, maxLength, pattern, enum, minItems and maxItems, on parameters and on any field inside a JSON body. Failures are reported together, a rule on a path field is a route constraint, and the rules appear in the OpenAPI document. The README gains a prior art section.

v0.1.3

Choose a tag to compare

@AndyCross AndyCross released this 18 Nov 18:50

Documents constraints as types: a README section and a runnable example (Example_regexConstraint) for a regular expression constraint. No change to the library's code.

v0.1.2

Choose a tag to compare

@AndyCross AndyCross released this 18 Nov 18:20

README only: removes a badge for a retired service. No change to the library's code.

v0.1.1

Choose a tag to compare

@AndyCross AndyCross released this 18 Nov 18:17

README with badges, a before and after, and a hero image. The example now serves Swagger UI at /docs over the generated OpenAPI document. No change to the library's code.

v0.1.0

Choose a tag to compare

@AndyCross AndyCross released this 18 Nov 17:54

First release. Request types carry their route as a struct tag; binding from path, query, header, cookie and JSON body; RFC 9457 problem details; typed link generation; route groups; a route table; an OpenAPI 3.1 document. Go 1.23 or later, no dependencies.