Add support for the minimum and maximum keywords inside request and response bodies

Issue #18 closed
Former user created an issue

If a schema in an OpenApi-file changes the following way, it is not recognized as a difference:

... "Width": { "type": "integer", "format": "int64" } ...

to

... "Width": { "type": "integer", "minimum": 0, "maximum": 1250, "format": "int64" } ...

Comments (4)

  1. Ben Sayers

    The underlying tool we are using (json-schema-diff) does not support the minimum and maximum keywords. You can see what keywords are supported in the keyword docs. I’ll change this ticket to a feature request.

    The good news is this one of my colleagues has recently implemented support for these keywords and has raised it in a PR. I’ll update this ticket when we’ve merged this.

    cc @{557057:526b7077-83d4-4cfb-955a-e261d129103c}

  2. Sebastian Tello Account Deactivated

    we’ve added support to this to the underlying json-schema-diff tool. Check the latest version of openapi-diff to make use of it

  3. Log in to comment