TypeAPI

An OpenAPI alternative to describe REST APIs for type-safe code generation.

Specification Editor Generator

C# Server Integration

The server code is based on ASP Web-API. The generated code contains the controller and model classes which are described at the specification. You only need to copy and paste the generated code into your source folder. A simple controller would look like:

[ApiController]
public class App : ControllerBase
{
    [Route("hello/world")]
    [HttpGet]
    [ProducesResponseType(200)]
    public HelloWorld getMessage()
    {
        // @TODO implement method
    }

}
part of the Apioo-Project