Detect misspellings in request bodies

Issue #25 wontfix
Ben Sayers created an issue

Situation: * A swagger defines a property as optional in the request body * A swagger allows additional properties in the request body * The pact file contains a mis-spelling of the optional property

In this case the mis-spelled property will be treated as an additional property and so the validation will not fail.

The desired behaviour would be to have a warning generated to indicate the additional property may not be desired behaviour.

Comments (1)

  1. Ben Sayers reporter

    Fixing this introduces a lot of complexity, more example incidents where this would have helped are required to justify taking this on.

  2. Log in to comment