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 recently added a @Matches decorator to a DTO class and was surprised to find that the resulting JSON schema did not change. I think that this decorator should map neatly to the "pattern" schema keyword. I can add a pattern key to the class property's @JSONSchema decorator options for now, but in the future, would it make sense to add schema generation support for this decorator?
The text was updated successfully, but these errors were encountered:
I recently added a
@Matches
decorator to a DTO class and was surprised to find that the resulting JSON schema did not change. I think that this decorator should map neatly to the "pattern" schema keyword. I can add apattern
key to the class property's@JSONSchema
decorator options for now, but in the future, would it make sense to add schema generation support for this decorator?The text was updated successfully, but these errors were encountered: