📋
AB-077

OpenAPI Response Matches Spec

📋 OpenAPI Moderate effort Est. cost: $10-50

What it means

Your API responses match the structure declared in your OpenAPI specification.

Why it matters

When responses match the spec, agents can parse them reliably. Mismatches cause parsing errors and broken integrations.

What's wrong

Spec says response has a 'data' array but the actual response returns an object. Agents crash trying to parse it.

What's right

Responses match the spec exactly. Agents parse responses without surprises.

Check this rule on your site

Enter your URL to check just this one rule (AB-001).

Related rules in OpenAPI