You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using dry-schema for years, (thanks for great work!) and I understand its primary goals (validate ruby structures) and JSON schema gen is just a bonus, so this is the first time I found the missing feature would be nice to have.
My environment
Affects my production application: NO
Ruby version: 3.4.0p1
OS: macOS Sequoia
The text was updated successfully, but these errors were encountered:
Describe the bug
This is probably more a feature request, or unexpected behavior detected.
The hash validated correctly, but JSON schema generated is incorrect.
For arrays there are special min|maxItems JSON schema rules, which
dry-schema
just replace with rules for stringsTo Reproduce
Output diff:
Expected behavior
I'm using
dry-schema
for years, (thanks for great work!) and I understand its primary goals (validate ruby structures) and JSON schema gen is just a bonus, so this is the first time I found the missing feature would be nice to have.My environment
The text was updated successfully, but these errors were encountered: