fix: align marketplace display name with existing interface conventions#14886
fix: align marketplace display name with existing interface conventions#14886
Conversation
xl-openai
commented
Mar 17, 2026
- camelCase for displayName;
- move displayName under interface.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 30d853d808
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| #[serde(rename_all = "camelCase")] | ||
| struct MarketplaceFile { | ||
| name: String, | ||
| #[serde(default)] | ||
| #[serde(alias = "displayName")] | ||
| display_name: Option<String>, | ||
| interface: Option<MarketplaceInterface>, | ||
| plugins: Vec<MarketplacePlugin>, |
There was a problem hiding this comment.
Preserve legacy marketplace display-name parsing
Keep backward compatibility when reading marketplace.json. This change removes the top-level display_name/displayName field parser and only reads interface.displayName, so existing marketplace files from prior versions will silently lose their display label and API responses will return interface: null.
Useful? React with 👍 / 👎.