Skip to content

[FEATURE] Warn on missing fields #338

@dblock

Description

@dblock

Is your feature request related to a problem?

Coming from #336 we are adding a missing field to a response body.

What solution would you like?

  1. Spec testing should warn that the response contains a field that is not present in the spec.
  2. It should be possible to run the tester with a flag that turns the warning in (1) into an error.

I believe this is not possible with AJV today, opened ajv-validator/ajv#2453.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions