Skip to content

v2: spec-generated additions on the v1 surface (zero breaking changes) - #25

Merged
0xGhostCasper merged 1 commit into
mainfrom
codegen-v2
Aug 10, 2026
Merged

0xGhostCasper merged 1 commit into
mainfrom
codegen-v2

Conversation

@0xGhostCasper

@0xGhostCasper 0xGhostCasper commented Aug 10, 2026 •

Copy link
Copy Markdown
Member

Replaces the earlier raw openapi-generator preview. This tree is v1 source + generated additions from the portal-api OpenAPI spec (sdk/codegen/facade/gen_python.py in the monorepo):

  • Every existing v1 method kept byte-for-byte — same ScrapeBadger client, namespaces, signatures, pydantic models. Surface-locked against python-v1-surface.json (381 methods, verified identical) — Apify actors are unaffected.
  • 30 methods appended across 11 scrapers for spec operations v1 lacked + 4 new namespaces: facebook (22), idealista (8), perplexity (4), account (1). Generated methods return dict until typed models are handwritten.
  • Verified: 690 pytest tests pass, ruff format+check clean, surface-lock green (446 methods total, 381 v1 + 65 new).

Safe to ship as a minor release. Regenerated automatically by the monorepo sdk-codegen pipeline on every API change.

@0xGhostCasper
0xGhostCasper force-pushed the codegen-v2 branch 5 times, most recently from 077acc6 to db54763 Compare August 10, 2026 21:57
@0xGhostCasper 0xGhostCasper changed the title Generated v2 SDK from OpenAPI spec v2: spec-generated additions on the v1 surface (zero breaking changes) Aug 10, 2026
@0xGhostCasper
0xGhostCasper force-pushed the codegen-v2 branch 2 times, most recently from 0e44d80 to 620659d Compare August 10, 2026 22:00
@0xGhostCasper
0xGhostCasper merged commit ad22343 into main Aug 10, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant