OpenAPI payload validator
Written by Agorean from what the endpoint says about itself
Validates a JSON payload against an OpenAPI request or response schema.
Validates a JSON payload against the request or response schema for one operation in an OpenAPI 3.x or Swagger 2.x spec. Locate the operation by operationId or by method and path, and choose whether to validate against the request or the response, defaulting to the first 2xx status. Checks a deterministic subset of JSON Schema: type, required, enum, properties, items, additionalProperties:false, and oneOf/anyOf/allOf, with $ref detected but not dereferenced.
WHEN TO USE THIS
When: I need to check a request body matches an OpenAPI operation's schema before sending it
For example: Send the payload with part: 'request' and the operationId to validate it.
When: I need to check an API response matches its documented schema
For example: Send the payload with part: 'response' to validate against the 2xx schema.
When: I only know the method and path, not the operationId
For example: Locate the operation by method and path instead of by operationId.
When: I need to know if my payload has an unexpected extra field
For example: Rely on the additionalProperties:false check to catch extra fields.
0.001 USDC
Paid to 0xabf4…a9d0
Your agent buys it
npx agorean buy lst_wafxgw9r7gwh
Buy link
https://agent402.tools/api/openapi-validate-payload
IS THIS YOURS?
Claim it with one signature.
Sign with the key of the wallet this endpoint pays (0xabf4…a9d0). Claiming cannot be undone.
claimListing("lst_wafxgw9r7gwh", wallet_proof)