Closed
Description
Today when generating plugins Kiota uses the plugin name as the namespace property in the plugin manifest and to name the generated plugin and sliced OpenAPI descriptions files.
The blank space in the namespace property is making Copilot to fail on finding functions to call the plugin.
Example:
kiota plugin add --openapi ./openapi/openapi.yml --plugin-name "Budget Tracker" --type APIPlugin --output ./plugin
When using the cmd above, here is what I get:
budget tracker-apiplugin.json
budget tracker-openapi.json
Also the budget tracker-apiplugin.json
file has the following info:
"namespace": "Budget Tracker"
Expected:
Files names and namespace should be sanitized to be [A-Z][a-z][0-9], no spaces, no special characters.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
Type
Projects
Status
Done ✔️