-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
bugSomething isn't workingSomething isn't working
Description
See submission #1477 which does not have any apis.
This template can be installed on the command line:
aio app init my-mcp-server --template @adobe/generator-app-remote-mcp-server-generic or aio templates install --no-process-install-config /local-path/generator-app-remote-mcp-server-generic (with may have a non-fatal error regarding the same schema validation) so the restriction may not make sense.
Expected
Able to add a template to the registry with no apis in install.yml
Actual
Cannot add a template to the registry with no apis in install.yml (schema validation error)
Fix
Update the schema, so the apis array can be minItems of zero.
See
| "minItems": 1, |
Workaround
Remove the apis key in install.yml if you don't have APIs.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working