OaSharp (OpenAPI Sharp)

An OpenAPI / Swagger C# REST server code generator and hosting .NET standard library | 5/21/2020

My first attempts with C# server code generation for OpenAPI failed catastrophically. The generated c# server code produced by https://editor.swagger.io put me right into dependency and deprecation hell. I had to install several gigabytes of ASP.NET core and .NET core libraries just to find out that the generated code was targeting a framework which is not supported anymore. Furthermore, VS2019 was pretty buggy handling these project types and had no nuget support.

I just wanted a lightweight solution for a simple HTTP REST server in C# supporting a simple JSON schema. Here it is: https://bitbucket.org/besting-it/oasharp

OaSharp is an OpenAPI / Swagger 3.x REST server .NET standard library and code generator which requires only minimal dependencies and is easy to use.


Leave Comment



Blog

OaSharp (OpenAPI Sharp)
An OpenAPI / Swagger C# REST server code generator and hosting .NET standard library | 5/21/2020

My first attempts with C# server code generation for OpenAPI failed catastrophically. ... Read More

Randomeal (.NET)
A small .NET standard library implementing a randomized genetic algorithm and self-adjusting simulated annealing | 1/22/2020

Randomeal is a small .NET standard library which implements a simplified genetic algorithm ... Read More

BigDecimal (.NET)
An arbitrary large (or small) decimal number implementation for .NET | 8/3/2019

BigDecimal represents a decimal number with arbitrary precision. It is based on a ... Read More

More Blog Entries