-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kiota plugin generate creates an empty folder called output
when the output folder is set to something else.
#5242
Comments
@darrelmiller this is expected. It's because we are operating on multiple clients/plugins and we need somewhere to place the logs. Also while looking into that, I noticed kiota was emitting the wrong hints afterwards. This has been addressed by #5245 |
I think we need to consider putting those files in the .kiota file. I found it quite intrusive when trying to organize the project with Kiota/TypeSpec/TTK all working together. |
And then would you expect a second log file: one for each client essentially? |
I think I would expect just one log file for kiota. |
so should we say we always log under .kiota in the workspace experience? CC @maisarissi |
I vote yes for logs. Less intrusive and easier to locate across all clients generated! Maybe a .kiota/logs folder? Are we generating a single file for all generated artifacts or a log file per artifact? |
right now the experience is a bit inconsistent:
|
I'm ok with one log file and I don't see scenarios where having specific logs per client/plugin generation would benefit the user more than 1 log across all generation. |
We could have a structure like this one in the workspace experience:
if that works for you, can you update the specs please? |
What are you generating using Kiota, clients or plugins?
API Client/SDK
In what context or format are you using Kiota?
Nuget tool
Client library/SDK language
None
Describe the bug
When creating a plugin and choosing a different folder for output, the generate command causes a folder called output to still be created.
Expected behavior
No output folder.
How to reproduce
kiota plugin add --pn openaiplug --type APIPlugin -o testplugin -d "https://raw.githubusercontent.com/openai/openai-openapi/master/openapi.yaml" kiota plugin generate --pn openaiplug
Open API description file
No response
Kiota Version
1.18.0-preview.202408220001+9b943845ea8e90b3d5d7d4ee30b4fee0f9d36ab1
Latest Kiota version known to work for scenario above?(Not required)
No response
Known Workarounds
No response
Configuration
No response
Debug output
Click to expand log
```The text was updated successfully, but these errors were encountered: