Repository navigation
Conversation
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
There are no active review issues blocking the schema disambiguation and KMS cleanup.
No open issues 🎉
What changed in this PR
Disambiguates OpenAPI model names to prevent incorrect self-references in generated clients, while keeping legacy Console form labels intact. It also removes obsolete KMS definitions and settings integration.
Changes:
- Prefix hidden schema titles for DNS, object storage, builds, and workload image updates.
- Extract a shared image-update strategy schema and move
additionalPropertiesto annotation items. - Remove KMS schemas, model declarations, and file mapping.
The Console Redux store must be regenerated to consume the updated schemas.
| File | Description |
|---|---|
src/otomi-models.ts |
Remove KMS declarations and the Versions alias. |
src/openapi/workload.yaml |
Share the image-update strategy schema and disambiguate variant titles. |
src/openapi/settings.yaml |
Rename the object-storage variant title and remove KMS settings. |
src/openapi/definitions.yaml |
Disambiguate DNS titles, correct annotation constraints, and remove the KMS schema. |
src/openapi/build.yaml |
Disambiguate Docker and Buildpacks variant titles. |
src/fileStore/file-map.ts |
Remove the KMS settings file mapping. |
Review effort: Balanced
Coverage report
Show files with reduced coverage 🔻
Test suite run success909 tests passing in 32 suites. Report generated by 🧪jest coverage report action from c3faf7a |
dennisvankekem
approved these changes
Nov 26, 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.
Client generators such as
openapi-generatoruse the titles for generating class or model names. If a nested object definition uses the sametitleas the parent, it creates a self-reference which is incorrect.This PR prefixes one instance of the
titlefield. For not affecting legacy auto-generated forms in Console, the non-displaying instance was changed.Instead of updating
kms, it has been removed as it is no longer part of the schema.Also a misplaced
additionalPropertieswas moved.This PR requires regenerating the Redux store in Console. This is implemented in feature branch linode/apl-console#886