Skip to content

Adopt middleware-enabled generated Rust API clients - #14

Merged
meoyawn merged 1 commit into
masterfrom
codex/rust-client-middleware
Sep 27, 2026
Merged

meoyawn merged 1 commit into
masterfrom
codex/rust-client-middleware

Conversation

@meoyawn

@meoyawn meoyawn commented Sep 27, 2026

Copy link
Copy Markdown
Member

OASmith's generated Rust clients now accept a middleware-enabled HTTP client so applications can configure automatic trace propagation once at construction: responsibleapi/oasmith#16.

Regenerate the public API client, add reqwest-middleware, and update the sync engine and CLI request-builder types to match. Preserve the existing HTTP configuration, cancellation handling, response decoding, and URL redaction. This updates the consumer contract; it does not configure an OpenTelemetry SDK in the application.

Validation: regenerated through moon run openapi:generate-public-rust-client; moon run cli:test client-engine:test passed, including all 16 sync-engine tests and CLI compilation.

@meoyawn
meoyawn merged commit ef85ed2 into master Sep 27, 2026
1 check passed
@meoyawn
meoyawn deleted the codex/rust-client-middleware branch September 27, 2026 03:04
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