Getting error with custom serializer

Issue #337 resolved
Former user created an issue

I have a custom serializer/deserializer defined for a property, which is different from what is defined in the yaml specs. e.g. I have defined a property as a string in specs but custom implementation convert it to a Long in my DTO. This is being reported by the validator. Is there any way that I could disable this specific violation?

Comments (2)

  1. James Navin

    If I understand correctly, you would like to disable a specific validation error.

    If that is correct there are a couple ways to do that:

    1. Via the validation levels mechanism; or
    2. Via whitelisting

    See the FAQ for details

  2. Log in to comment