Skip to content

Regenerate SDK client core from gateway OpenAPI spec#5

Closed
njbrake wants to merge 1 commit into
mainfrom
sdk-codegen/client-core
Closed

Regenerate SDK client core from gateway OpenAPI spec#5
njbrake wants to merge 1 commit into
mainfrom
sdk-codegen/client-core

Conversation

@njbrake

@njbrake njbrake commented Jun 8, 2026

Copy link
Copy Markdown
Member

Automated regeneration of the generated typed client core (all
endpoints) from the otari gateway OpenAPI spec. The hand-written shell
(streaming, error mapping, ergonomic methods) is unaffected.

Source: mozilla-ai/otari@381ef1a
Generated by .github/workflows/gateway-sdk-codegen.yml.

@njbrake

njbrake commented Jun 8, 2026

Copy link
Copy Markdown
Member Author

Note: this comment was drafted by Claude via back-and-forth with @njbrake. The reasoning and decisions are his; the prose is Claude's.

Closing this as drift, not a real change.

This regen was produced by the codegen workflow before the OpenAPI Generator version was pinned through a mechanism the CLI actually honors. The @openapitools/openapi-generator-cli wrapper ignored the workflow's OPENAPI_GENERATOR_VERSION env var and resolved the latest generator (7.23.0) instead of the 7.22.0 the SDK cores were generated and validated against. The diff here is purely that generator-version difference (dropped typed sub-models, changed audio param), not an intended spec change.

mozilla-ai/otari#109 pins the generator via a committed openapitools.json (generator-cli.version: 7.22.0). Once that merges, a fresh regen is a verified no-op against the current core. No action needed on this SDK.

@njbrake njbrake closed this Jun 8, 2026
@njbrake njbrake deleted the sdk-codegen/client-core branch June 8, 2026 15:41
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