Skip to main content
Question

Chsarp API client generation from OAS

  • September 22, 2023
  • 0 replies
  • 74 views

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
------------------------------
This topic has been closed for replies.