| name | openapi-mistral |
| description | Update mistralai_dart from Mistral AI OpenAPI changes. Use for spec refresh, change review, scaffolding, and verification. |
Mistral AI OpenAPI Workflow
Prerequisites
- Auth: No auth env vars required.
- CLI:
python3 .agents/shared/api-toolkit/scripts/api_toolkit.py
- Existing-package commands: run the repo-relative examples from the repository root. If you run them elsewhere, invoke the script via an absolute path and pass an absolute
--config-dir.
Workflow
- Fetch:
python3 .agents/shared/api-toolkit/scripts/api_toolkit.py fetch --config-dir packages/mistralai_dart/.agents/skills/openapi-mistral/config
Fetch writes the candidate spec to the configured output_dir as latest-<spec>.json.
2. Review:
python3 .agents/shared/api-toolkit/scripts/api_toolkit.py review --config-dir packages/mistralai_dart/.agents/skills/openapi-mistral/config
- Implement with
scaffold plus the package references, then promote the reviewed candidate from output_dir/latest-<spec>.json into packages/mistralai_dart/specs/ before final verification.
- Verify:
python3 .agents/shared/api-toolkit/scripts/api_toolkit.py verify --config-dir packages/mistralai_dart/.agents/skills/openapi-mistral/config --checks all --scope all
Specs
| Spec | Description |
|---|
main | Mistral AI API for chat, embeddings, and more |
Package References
Separate Dart Quality Steps
cd packages/mistralai_dart
dart analyze --fatal-infos
dart format --set-exit-if-changed .
dart test test/unit/