omissis/go-jsonschema

Feature request: string pattern validation

antontornqvist opened this issue · 5 comments

Currently the code generated does not validate string patterns. Would be nice to have, any plans to add it?

hey! uhm it's not in the plans for now, no. I want to close the last PR, do a round of cleanups on the issues, and then probably kick-off a rewrite :)

Ok, I can open a PR for adding this functionality if you accept contributions?

oh if you're willing, sure! that would be great :)

There was some other validation missing that I added in the PR as well. (exclusive)maximum and (exclusive)minimum for numeric types and uniqueItems for arrays :)