Skip to content

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

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

v2: spec-generated additions on the v1 surface (zero breaking changes)#22
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_node.py in the monorepo):

  • Every existing v1 method kept byte-for-byte — same client shape, names, signatures, typed responses. Surface-locked against node-v1-surface.json (381 methods).
  • 24 methods appended for spec operations v1 lacked (twitter streams CRUD, chatgpt/gemini POST, newer detail routes) + 4 new namespaces: facebook (22), idealista (8), perplexity (4), account (1). Generated methods return raw objects until typed models are handwritten.
  • Verified: 275 vitest tests pass, eslint + typecheck clean, runtime smoke of old + new namespaces.

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 459438e to 2aaf725 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 merged commit 46247cd into main Aug 10, 2026
4 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