Dreamescaper / GenerateAspNetCoreClient

DotNet tool to generate HTTP client classes from ASP.NET Core api controllers.
MIT License
63 stars 5 forks source link

Add model generation to the tool #27

Open KennethJakobsen opened 4 months ago

KennethJakobsen commented 4 months ago

It would be awesome if we could have model generation so the client could be distributed individually

Dreamescaper commented 4 months ago

While I can see the value here, I would say that you can already achieve that with something like NSwag. This library was created exactly because I wanted to be able to use the same DTOs (e.g. via common project Contracts) which are used on the backend, and existing solutions (e.g. NSwag) didn't allow that.