Forum Discussion

OliverPolden's avatar
Qrew Member
8 months ago

Chsarp API client generation from OAS

I would like to do a JSON API integration in Csharp. I have downloaded the OAS file and imported it into the swagger editor, then generated the csharp client code. However when I try to build my dotnet project I get lots of errors, mainly: 

Generated5.cs(31, 58): [CS1031] Type expected

And indeed it has generated code such as:

public async Task<List<Dictionary<string, >>> GetTables()

Is there a recommended generator to use or is there a csharp client code already generated that I can use?

Oliver Polden
No RepliesBe the first to reply