Skip to content

Commit 3db046a

Browse files
committed
refactor: update marketplace JSON schema in live app server examples
Update the marketplace configuration structure to align with the latest schema requirements. This includes adding a display name to the interface object and nesting installation and authentication policies within a dedicated policy object.
1 parent 1f3b0c7 commit 3db046a

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

examples/live_app_server_plugins.exs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,15 +96,20 @@ defmodule CodexExamples.LiveAppServerPlugins do
9696
marketplace_json = """
9797
{
9898
"name": "#{marketplace_name}",
99+
"interface": {
100+
"displayName": "Codex SDK Demo Marketplace"
101+
},
99102
"plugins": [
100103
{
101104
"name": "#{plugin_name}",
102105
"source": {
103106
"source": "local",
104107
"path": "./plugins/#{plugin_name}"
105108
},
106-
"installPolicy": "AVAILABLE",
107-
"authPolicy": "ON_INSTALL",
109+
"policy": {
110+
"installation": "AVAILABLE",
111+
"authentication": "ON_INSTALL"
112+
},
108113
"category": "Design"
109114
}
110115
]

0 commit comments

Comments
 (0)