lint
Check an OpenAPI spec for schemas no value can satisfy, such as arrays with scalar enums or oneOf with additionalProperties false. Find these defects before serving or deploying to prevent mock validation errors.
Instructions
Check an OpenAPI spec for schemas no value can satisfy, such as an array with a scalar enum or additionalProperties: false next to oneOf properties. Mockzilla can't generate valid responses for these, so requests to affected endpoints fail validation. Returns {clean, defect_count, defects: [{rule, path, detail}], truncated}; at most 50 defects are listed. Pass input as a local spec file or a public https URL. Use it before serving or deploying a spec, or when a mock returns unexpected validation errors. OpenAPI 3.x only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Spec file path or public https URL. |