Skip to content

Custom Formats are not allowed for types other than Strings #957

@gopichandch

Description

@gopichandch

https://github.com/networknt/json-schema-validator/blame/51fd82b420c3abde014f180ea109155de0d36480/src/main/java/com/networknt/schema/FormatValidator.java#L51

I'm trying to implement a custom Format for an integer type. But it doesn't validate if its not of String Type. Is there any reason not to support other types. Or am I missing something? Please let me know if we can remove that check.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions