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
There is no way to link custom tags with custom validation logic right now. This is a feature we could consider adding or enabling it to be added by others easily by hooking into the validation phase of the request.
Currently, for example, I put tag
maxLength:"3"
, Huma will validate to input Body and also put a text in spec to indicate the constraint.I can add validation logic with
Resolve
method but is there anyway that I can:Resolve
method for all input models.<= 3 characters
as in the image, instead of putting it into description.Thanks! You guys created a great repository btw.
The text was updated successfully, but these errors were encountered: