You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Kiota has the current limitation of expecting error responses to be classes/objects. For now, we've authored #2706 to fix the compilation error and unblock making of the requests and the handling of primitive error responses will be tracked via #2435
same problem here, do you have a quick fix to build successfully ?
@yoyos You can build build the main branch once #2706 is merged. Alternatively, strip the string error responses from the reference doc.
Using the kiota CLI, source code was created which includes
StringObject
.This results in this compiler error:
I couldn't find a NuGet package to reference to include this class.
CLI command:
kiota generate -d http://localhost:9400/swagger/v1/swagger.json -l csharp -o .
This is the generated code including
StringObject
:I have these NuGet packages referenced:
I'm using version 1.2.1 with the dotnet tool microsoft.openapi.kiota
Copilot says, the
StringObject
class is part ofMicrosoft.Kiota.Abstractions
. I couldn't find it in this and the abstractions repo.The text was updated successfully, but these errors were encountered: