feat: update Speakeasy gen.yaml configuration#370
Merged
louis-sanna-dev merged 4 commits intomainfrom Feb 25, 2026
Merged
Conversation
480fb6a to
8d6b503
Compare
- Add input and dir to allowedRedefinedBuiltins - Add asyncPaginationSep2025 and conflictResistantModelImportsFeb2026 fixFlags - Set imports.paths.errors to "errors" - Increase maxMethodParams from 15 to 999 - Change multipartArrayFormat from legacy to standard
8d6b503 to
6213a5f
Compare
Add input and dir to match allowedRedefinedBuiltins in gen.yaml config.
33d0f54 to
dc1faab
Compare
- Filter UnknownAgentTool in agent update (context.py) - Update examples for renamed classes: - BatchRequest, UserMessage: import from models module - ClassifierTrainingParametersIn -> ClassifierTrainingParameters - ClassifierJobOut -> ClassifierFineTuningJob - Add type narrowing for ClassifierFineTuningJobDetails
dc1faab to
37ef0e8
Compare
Contributor
Author
|
@cursor review |
Nelson-PROIA
approved these changes
Feb 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Update Speakeasy gen.yaml configuration for v2 breaking release, including schema renames and recommended settings.
Changes
Schema Renames
Regenerated SDK with schema renames from dashboard PR https://github.com/mistralai/dashboard/pull/18251.
Applies
x-mistral-sdk-nameoverrides to component schemas for consistent, user-friendly class names.AgentCreationRequestCreateAgentRequestAgentUpdateRequestUpdateAgentRequestBatchJobOutBatchJobBatchJobsOutListBatchJobsResponseBatchJobInCreateBatchJobRequestArchiveFTModelOutArchiveModelResponseCheckpointOutCheckpointAnd 30+ more renames following the pattern:
{Verb}{Entity}Request{Verb}{Entity}Response{Entity}(no suffix)gen.yaml Configuration Updates
Applied to all targets (main, Azure, GCP):
speakeasyVersionallowedRedefinedBuiltins[id, object][id, object, input, dir]constFieldCasinguppernormalfixFlags.asyncPaginationSep2025truefixFlags.conflictResistantModelImportsFeb2026truefixes.nameOverrideFeb2026trueimports.paths.errors"""errors"maxMethodParamsmultipartArrayFormatlegacystandardMakefile Updates
Added new commands:
make generate- Generate all SDKs (speakeasy run -t all)make check-config- Check gen.yaml against recommended defaultsVerification
All 42 schema renames verified:
Related