Replies: 1 comment 2 replies
-
We don't support emitting multiple patterns via allOf, it's an interesting idea. As an alternative, you could consider using It might be tempting to use a lookahead like |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
JSON schema allows to use
allOf
oranyOf
for patterns, e.g.to limit the allowed characters, but also to make sure the value contains at least one non-blank character. How do I express this in typespec?
Beta Was this translation helpful? Give feedback.
All reactions