Command line tool to generate client code in C# (target = .Net Framework 4.8) for an Open API

Karthikeyan Rajagopalan 1 Reputation point
2022-09-20T07:56:35.767+00:00

Are there any command line tool/utility that we can use to generate C# code/file (target = .Net Framework 4.8) for an Open API?

I have explored AutoRest, but it generates code targeting .NET Core/.NET 5/.NET 6

I have explored OData Client Connected Service in Visual Studio. It does generate C# code for .NET Framework. The OData-CLI however, does not generate for C# .NET Framework, but for .NET Core/.NET 5/.NET 6).

Developer technologies | C#
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.