📋
AB-077

OpenAPI Response Matches Spec

📋 OpenAPI Pillar: Discovery Moderate effort Severity: medium Est. cost: $10-50 Gap: documentation Fix: deterministic

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.

Evidence expected

This rule is verified by:

cross Source: Website content
✗

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

Machine-Readable

This rule is also available as JSON: /rules/AB-077.json

Explore More

  • All Rules

    Browse the complete rules catalog

  • Agent Guide

    Learn how to fix this rule

  • Blog

    Related articles on agent readiness