Writes a strict JSON Schema (draft-07) inferred from a response body. Every object gets
additionalProperties: false, and fields that were null become ["null", "string"].
Review the file and tighten it by hand (required fields, enums, formats) before committing.
Usually called through validateJsonSchema(name, body, { update: true }) or
UPDATE_SCHEMAS=true, not directly.
Writes a strict JSON Schema (draft-07) inferred from a response body. Every object gets
additionalProperties: false, and fields that were null become["null", "string"]. Review the file and tighten it by hand (required fields, enums, formats) before committing.Usually called through
validateJsonSchema(name, body, { update: true })orUPDATE_SCHEMAS=true, not directly.