C#C
C#3y ago
.tree

❔ NSwag Client generation

I'm trying to generate an API client for my .NET 6 REST API that used to be a Soap service. I want to replace the generated soap client with a new REST client.

When I generate an API Client in NSwag Studio, I get only a single file with a bunch of methods that aren't named after my API calls. What is this for?

When I generate using the swagger editor online, I do receive an API file as well as multiple model classes that are named after my objects and methods.

I'm confused as to why I get these different results and which one is needed for what task.
Was this page helpful?