Bump API models to version v6.10.62 (consolidated)#454
Open
fhacloid wants to merge 3 commits into
Open
Conversation
- NewEnvironment.Type changed from *string (required) to string (omitempty) in v6.10.24; unwrap ptr.Ptr() in environments/utils.go and both testcfg packages - v6.10.62 model regen uses go-openapi/swag v0.26 multi-module split (swag/jsonutils, swag/typeutils, swag/conv); add them to go.mod/go.sum Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This was referenced Jun 4, 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.
Consolidates PRs #446, #447, #450, #453 in version order with CLI adaptations.
What changed
v6.10.24 (PR #447)
FormEntity: new optionalconditionfield (read-only for CLI, no action needed)NewEnvironment.Type:*stringrequired →stringomitempty — API now auto-detects env type from canonical keywords; field is no longer mandatoryv6.10.62 (PR #453, supersedes #450)
go-openapi/swagsplit into multi-module at v0.26.0; all models now importswag/jsonutilsandswag/typeutilssubpackagesCLI adaptations (on top of generated code)
cmd/cycloid/environments/utils.goptr.Ptr()onNewEnvironment.Type(×2)internal/testcfg/config.gopkg/testcfg/config.gogo.mod/go.sumgo-openapi/swag/conv,swag/jsonutils,swag/typeutilsv0.26.0PRs superseded
fix(models): remove PluginManager.status integer workaround)