Tools

Code validator

Paste cURL or client code. The validator checks hosts, methods, required headers, multipart uploads, and common polling mistakes — without executing your code.

Validate snippet

Score

100/100

No blocking errors

  • success

    No critical issues detected against the Flimpa API v1 rules.

  • info

    Create returns PENDING — remember to poll GET /tasks/{id}.

    Fix: Poll until COMPLETED, then download via resultUrl

  • success

    Idempotency-Key detected — good for safe retries.

Enginetext
// Validation engine checks
// - endpoint / host correctness
// - HTTP method
// - X-API-Key + X-Task-Access-Token usage
// - multipart handling for POST /tasks
// - polling / idempotency heuristics
// See lib/api-docs/validator/engine.ts

Validation engine architecture

  1. Normalize and tokenize the pasted source (no sandbox execution).
  2. Detect target endpoint family: create, status, or download.
  3. Run rule packs: URL/host, method, headers, multipart, security, polling.
  4. Score findings and suggest concrete fixes aligned with OpenAPI catalog.