feat: regenerate source code from latest OpenAPI spec#645
Draft
bwoskow-ld wants to merge 6 commits intomainfrom
Draft
feat: regenerate source code from latest OpenAPI spec#645bwoskow-ld wants to merge 6 commits intomainfrom
bwoskow-ld wants to merge 6 commits intomainfrom
Conversation
Co-Authored-By: Ben Woskow <bwoskow@launchdarkly.com>
Contributor
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Co-Authored-By: Ben Woskow <bwoskow@launchdarkly.com>
Co-Authored-By: Ben Woskow <bwoskow@launchdarkly.com>
Co-Authored-By: Ben Woskow <bwoskow@launchdarkly.com>
Co-Authored-By: Ben Woskow <bwoskow@launchdarkly.com>
Co-Authored-By: Ben Woskow <bwoskow@launchdarkly.com>
Member
Author
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.
Requirements
Related issues
N/A — regeneration of CLI source code from the latest OpenAPI spec, bringing in new resources and schema changes.
Describe the solution you've provided
Ran
make openapi-spec-updateto download the latest OpenAPI spec fromhttps://app.launchdarkly.com/api/v2/openapi.jsonand regeneratecmd/resources/resource_cmds.go.Two files changed:
ld-openapi.json— updated spec (3559 lines changed)cmd/resources/resource_cmds.go— regenerated CLI resource commands (634 lines changed)Key changes in the spec worth noting:
ai-configs-beta→ai-configs, beta header notice removed from descriptionProgressiveReleaseConfig,ReleasePolicyStageschemas;GuardedReleaseConfiggainedmetricKeys,metricGroupKeys,stages,rolloutContextKindKey,metricRegressionThresholdfields;ApplicablePolicygainedflagTagKeysHuman review checklist:
ProgressiveReleaseConfig,ReleasePolicyStage, expandedGuardedReleaseConfig) look correctDescribe alternatives you've considered
N/A — this is the standard code generation workflow.
Additional context
Build verified locally with
make build— compiles successfully. Also fixed missing trailing newline inld-openapi.jsonfor pre-commitend-of-file-fixercompliance.Note: The
buildCI check failed on the first run due to a GitHub Actions runner shutdown signal (exit code 143), not a code issue. Thecicheck (tests) passed.Link to Devin run: https://app.devin.ai/sessions/db52e77ac4c044baa2918e5b0d8f34b0
Requested by: @bwoskow-ld