TypeAPI

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

Specification Editor Generator

TypeScript Server Integration

The server code is based on NestJS. 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:

@Controller()
export class AppController {
  @Get('/hello/world')
  @HttpCode(200)
  getMessage(): HelloWorld {
    // @TODO implement method
    return {};
  }

}
part of the Apioo-Project