825b5583

Author: Andreas Ländle <969523+alaendle@users.noreply.github.com>

Committer: Tom Sydney Kerckhove <syd@cs-syd.eu>

Support min/max-length bounds for strings

Add StringBounds to StringCodec to represent minimal/maximal length of a
string, checked during parsing. These map to minLength/maxLength in JSON
Schema. Bounds are inclusive.

Adds textWithBoundsCodec and stringWithBoundsCodec.
forwardCompatibilitynixpkgs-25_05nixpkgs-25_11pre-commitreleaseconfiguredevShellautodocodecautodocodec-api-usageautodocodec-exactautodocodec-nixautodocodec-openapi3autodocodec-schemaautodocodec-servant-multipartautodocodec-swagger2autodocodec-yamlx86_64-linux