HTTP/1.1 402 PAYMENT REQUIRED agent402.base.eth · BASE · SOLANA · POLYGON · ARBITRUM · STELLAR · ROBINHOOD · USDC · USDG

OpenAPI spec audit

Lint an OpenAPI spec and validate a sample payload against it — catch schema errors in one pass.

When to use this pack

A developer has an OpenAPI spec URL and wants a quick quality check: does it lint cleanly (missing descriptions, unused schemas, invalid refs) and does a sample payload pass validation? Useful before publishing to a marketplace or generating client SDKs.

Tools in this pack

Workflow

  1. Call openapi-lint with the spec URL to get lint warnings and errors — missing descriptions, unused schemas, invalid references.
  2. Call openapi-validate-payload with an empty payload to surface required-field violations and schema mismatches.

Run it in Claude

claude mcp add agent402 -s user -- npx -y agent402-mcp@latest

Then paste this prompt into Claude:

Audit the OpenAPI spec at https://petstore3.swagger.io/api/v3/openapi.json using Agent402's openapi-audit skill pack: (1) lint it for warnings and errors, (2) validate an empty payload against the first endpoint. Report lint issues and validation failures.

← All skill packs