Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alexandrebellas/openapi-autoclient-csharp

Automatic generator of C# clients from OpenAPI specifications.
https://github.com/alexandrebellas/openapi-autoclient-csharp

Last synced: 29 days ago
JSON representation

Automatic generator of C# clients from OpenAPI specifications.

Awesome Lists containing this project

README

        

# OpenAPI autoclient for C#

An automatic C# client generator written in Typescript.

Under development.

## What it does

Given a JSON file with an [OpenAPI 3.1.0 specification](https://swagger.io/specification/),
the project reads it and generates the appropriate code for interacting with the
API described by the file.

## What is different from other solutions

Here, I am implementing the project in a way that the generated code has a
proper architecture and best practices for designing a client, including
dependency injection, repository pattern, and separation of concerns. Other
solutions didn't generate a code with such architecture, which could deteriorate
the code legibility in an existing project.

## Run the project

TBD

## Other similar projects

- [openapi-generator](https://github.com/OpenAPITools/openapi-generator) from OpenAPITools
- [swagger-codegen](https://github.com/swagger-api/swagger-codegen) from swagger-api