Open
Description
What are you generating using Kiota, clients or plugins?
API Client/SDK
In what context or format are you using Kiota?
Windows executable
Client library/SDK language
Csharp
Describe the bug
When API path contains an underscore, the generated code does not compile. Please see the screenshot with condensed information.
Expected behavior
The generated code compiles regardless of quirks in API definitions.
How to reproduce
Create a minimal API definition that contains an _
in the path (as exemplified in the screenshot) and try to compile the generated C# client.
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
Regex search-replace in visual studio: Replace all "(^\s+)_ = body", "$1var __D3EFECEF9C3C459FA90E066665D380F2 = body"
Configuration
No response
Debug output
No response
Other information
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
New📃