json-api-dotnet / JsonApiDotNetCore

A framework for building JSON:API compliant REST APIs using ASP.NET and Entity Framework Core.
https://www.jsonapi.net
MIT License
662 stars 160 forks source link

Try liblab #1543

Closed bkoelman closed 1 month ago

bkoelman commented 2 months ago

liblab is a new commercial OpenAPI client generator for various languages, including C#. While free for open-source, pricing starts at $100 per month, which provides unlimited credits. Each generation run consumes one credit. Just buying credits would make more sense for small projects, or projects in maintenance mode, but that isn't offered. I've given the C# generator a try, see my findings below.

I just tested a few basics, but my conclusion so far is that liblab currently isn't usable for this project (I don't consider hand-editing generated code an option). Though I'm happy to see competition in the OpenAPI space, it seems to me that liblab doesn't yet provide the features we need.

The individual commits reflect the steps I've followed. This PR was created to share my findings, it is not intended to be merged.