© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
1 reply
.tree

❔ Generate REST Client with NSwag Studio

When I generate a C# Client for my REST API using swaggers online editor-next, I get a .NET Project with multiple cs files for my models and clients.

However when I use Nswag Studio with the same Swaggerfile, I only get one single .cs file. Why is this?

The issue with the client generated from the editor is that it's not .NET 6, which I need for my application.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ NSwag Client generation
C#CC# / help
3y ago
NSwag client causes build to fail the first time
C#CC# / help
9mo ago
How flexible is NSwag?
C#CC# / help
2y ago
❔ NSwag and API help
C#CC# / help
3y ago