Skip to content

v0.18.0

Latest

Choose a tag to compare

@github-actions github-actions released this 21 Nov 09:20
· 1 commit to master since this release
88da532
  • Added. SchemaCheck::assertsFormat(string $type, string $format): bool
    — whether the contract checks a format on a value of a JSON type or reads
    it as an annotation (phone, byte, custom formats) that every value
    satisfies. It reads the validator's own format resolver, so
    rasuvaeff/property-testing-openapi can generate a plain string for an
    annotation without keeping a copy of the list (property-testing-openapi#168).
    The validator now builds that resolver itself instead of amending the
    backend's default one; the formats it checks are unchanged.