Skip to content

turn on/off response model validation for specific routes #69

@seanpk

Description

@seanpk

there are several ways to solve this problem ...

here it is: after turning on response model validation for my project I've found that some responses are acceptably invalid and I'd like to keep having validation done for other API methods without filling up my logs with known and acceptable errors

some potential solutions (I'm sure there are more):

  • provide a whitelist and/or blacklist config for excluding (or opting-in) API methods
  • provide an error matcher config for exclusion (so that you could turn off only matching invalid responses, not everything

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions