Mapping values are not allowed in this context #6024
Labels
Csharp
Pull requests that update .net code
status:waiting-for-triage
An issue that is yet to be reviewed or assigned
type:bug
A broken experience
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
I am getting the following error:
Error: KiotaBuilder OpenAPI error: #line=35 - (Lin: 35, Col: 26395, Chr: 27722) - (Lin: 35, Col: 26395, Chr: 27722): Mapping values are not allowed in this context.
My command:
kiota generate -d "https://localhost:44321/openapi/v1.json" -l csharp -n "FtSeriateConfiguration.Client.Kiota.ConfigurationService" --ebc -c ConfigurationApiClient --co -o "./Kiota
And I have a brand new API with only one endpoint. Here's my API doc:
Expected behavior
I would expect a
ConfigurationApiClient.cs
file to be created within theFtSeriateConfiguration.Client.Kiota.ConfigurationService
namespace under the relativeKiota
folder.How to reproduce
Use the provided JSON and run it through Kiota.
v1.json
Open API description file
No response
Kiota Version
1.22.3+a544276a5ee9d4a7b67cc0fbd5ce2804c172fa14
Latest Kiota version known to work for scenario above?(Not required)
No response
Known Workarounds
No response
Configuration
Debug output
Click to expand log
```The text was updated successfully, but these errors were encountered: