Skip to content

Spec drift: polymarket — polymarket-data.yaml spec file truncated mid-content #536

@realfishsam

Description

@realfishsam

Summary

The file core/specs/polymarket-data.yaml is truncated — it cuts off mid-content, leaving the YAML invalid or incomplete. The truncation means several Data API endpoints and schemas are missing from the spec entirely.

Impact

MEDIUM — any tooling that parses polymarket-data.yaml (spec validators, code generators, documentation tools) will fail. Endpoints defined after the truncation point are invisible to the spec-based callApi() dispatch.

Details

  • File: core/specs/polymarket-data.yaml
  • Symptom: file ends abruptly mid-YAML (mid-path definition or mid-schema), making it syntactically invalid
  • Likely cause: the file was generated or copied incompletely
  • The Gamma API YAML and CLOB API YAML appear complete; only the Data API YAML is affected

Required Fix

  1. Re-fetch the complete Polymarket Data API spec from Polymarket's documentation or API portal
  2. Replace the truncated core/specs/polymarket-data.yaml with the complete version
  3. Validate the YAML is syntactically correct after replacement

Metadata

Metadata

Assignees

No one assigned

    Labels

    spec-driftCached OpenAPI spec out of date vs venue's live docs

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions