Skip to content

Support for @Matches / "pattern"? #113

@thw0rted

Description

@thw0rted

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions