Skip to content

Generate Dart API clients and models - #17

Merged
meoyawn merged 1 commit into
masterfrom
codex/dart-client-emitter
Sep 30, 2026
Merged

meoyawn merged 1 commit into
masterfrom
codex/dart-client-emitter

Conversation

@meoyawn

@meoyawn meoyawn commented Sep 29, 2026

Copy link
Copy Markdown
Collaborator

Adds --lang dart for type and client generation, allowing the Flutter desktop and standalone Dart CLI to share the public API contract. Generated clients expose typed request/response models, status handling, SSE responses, and injectable transport, error, and bounded-body handling.

Unsupported schema compositions and multipart bodies fail generation explicitly. Dart output is formatted with the SDK.

Validation: moon run oasmith:check passes, including existing Go/Rust fixtures and the generated Dart analyzer/runtime fixture. The complete Listenbox public schema also generates and analyzes successfully.

@meoyawn
meoyawn marked this pull request as ready for review September 30, 2026 09:53
@meoyawn
meoyawn merged commit 0a53ce6 into master Sep 30, 2026
1 check passed
@meoyawn
meoyawn deleted the codex/dart-client-emitter branch September 30, 2026 09:53
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