Skip to content

feat: derive SDK wire types from OpenAPI - #8

Open
EgorMajj wants to merge 2 commits into
mainfrom
codex/generated-wire-types
Open

EgorMajj wants to merge 2 commits into
mainfrom
codex/generated-wire-types

Conversation

@EgorMajj

@EgorMajj EgorMajj commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Derive wire parameters and response fields from the generated OpenAPI operations and schemas.
  • Preserve the normalized SDK API and runtime handling of missing or unknown fields.
  • Check generated-file freshness without rewriting files during CI.
  • Prove incompatible schema changes fail SDK compilation; preserve additive-field compatibility.
  • Install the actual tarball in an isolated consumer and verify ESM, CommonJS, bundler types and runtime versions.

Verification

  • All 676 tests pass.
  • Typecheck, generation freshness and ten schema-drift cases plus an additive-field case pass.
  • Build, package checks, isolated packed consumer, Node/worker runtime smoke and HTTP example pass.
  • ESLint and Prettier pass; a local ignored tool-state directory was excluded from formatting, not source files.
  • Independent native review found no issues.

The package version is unchanged. No live API calls or registry publication were performed. CI now repeats freshness, drift and installed-package checks before release.

This branch has not been deployed

No deployments
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