Skip to content

Add manifest-driven OpenAPI client sync action - #48

Closed
lightsofapollo wants to merge 3 commits into
mainfrom
feat/client-sync-action
Closed

Add manifest-driven OpenAPI client sync action#48
lightsofapollo wants to merge 3 commits into
mainfrom
feat/client-sync-action

Conversation

@lightsofapollo

Copy link
Copy Markdown
Contributor

Summary

  • add openapi-to-rust clients check|update|sync for manifest-driven client generation
  • support checked-in and remote OpenAPI specifications, including vendoring and normalization
  • compile and optionally test generated clients
  • add a composite GitHub Action that can report drift or submit update PRs
  • publish checksummed prebuilt CLI archives for Linux, macOS, and Windows
  • add CI fixtures, documentation, and release tooling

Why

Client repositories need one consistent workflow for validating checked-in generated code and automatically tracking remote API specifications. Keeping this in the existing generator avoids introducing a second CLI while making the full flow reusable from GitHub Actions.

Impact

Consumers can use check mode for manually maintained internal specifications, or scheduled sync mode for remote specifications such as Runpod API v2. The action reports detected changes and can create normal or draft update PRs depending on validation results.

Validation

  • cargo test --all-features
  • cargo fmt --all -- --check
  • cargo clippy --all-features -- -D warnings
  • RUSTDOCFLAGS="-D warnings" cargo doc --no-deps --all-features
  • cargo check --no-default-features
  • actionlint .github/workflows/ci.yml .github/workflows/publish.yml
  • release packaging/checksum smoke test
  • composite action success and failure smoke tests
  • installer smoke test

@vercel

vercel Bot commented Jul 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
openapi-to-rust Ready Ready Preview, Comment Jul 29, 2026 5:41am

Request Review

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