Description
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
Csharp
Describe the bug
I am trying to use the generate
command with the -o
parameter to specify the desired folder. That works great. However, the -n
parameter creates folders as well if you use "Project.Folder.Xyz" as your namespace. That creates, within the folder you've selected as output, "Project/Folder/Xyz". The first solution I tried was to just use "Xyz" as the namespace instead, but that creates a root-level namespace named "Xyz" instead.
Expected behavior
I expect to use -n "Project.Folder.Xyz" and not have it create any of those parts as folders.
How to reproduce
kiota generate -l csharp -o A/B/C -n A.B.C -c Client -d https://myjsonurl.json --exclude-backward-compatible --clean-output
Open API description file
No response
Kiota Version
1.27.0+278d4c17bfbc9fff8d8a1618bd95b43b1e3f7f4d
Latest Kiota version known to work for scenario above?(Not required)
No response
Known Workarounds
Unknown
Configuration
No response
Debug output
Click to expand log
```</details>
### Other information
_No response_
Metadata
Metadata
Assignees
Labels
Type
Projects
Status