Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oats-ts/oats-ts
Comprehensive code generators for OpenAPI written in Typescript
https://github.com/oats-ts/oats-ts
codegen codegenerator openapi typescript
Last synced: 12 days ago
JSON representation
Comprehensive code generators for OpenAPI written in Typescript
- Host: GitHub
- URL: https://github.com/oats-ts/oats-ts
- Owner: oats-ts
- License: mit
- Created: 2021-06-03T16:04:26.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-12-18T22:07:14.000Z (about 1 year ago)
- Last Synced: 2025-01-13T03:02:55.296Z (20 days ago)
- Topics: codegen, codegenerator, openapi, typescript
- Language: TypeScript
- Homepage: https://oats-ts.github.io/docs
- Size: 2.59 MB
- Stars: 22
- Watchers: 2
- Forks: 1
- Open Issues: 13
-
Metadata Files:
- Readme: readme.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# 🌱 oats
This project aims to provide a solution for generating quality Typescript code from API-describing documents. The only supported format currently is [OpenAPI 3.x](https://www.openapis.org), but there are plans to introduce generators for [AsyncAPI](https://www.asyncapi.com/) as well.
The goal is to minimize the boilerplate a human developer has to write, to reduce the tedium around keeping a client and a server in sync, and to allow devs to focus on just displaying or moving data, without worrying about the structural correctness of that data.
## why?
Why does this project exists? There are countless OpenAPI generators out there.
The main goals/differences are:
- Make it work for 1 language (Typescript), and do that well.
- Make every part of the API replaceable (without forking the project) in case it doesn't suit your needs.
- Make it easy to customize, to suit a wide variety of use cases out of the box.
- Make the generated code as easy to read, as if a dev would have written it by hand (or get as close to this as possible).## docs & demo
https://oats-ts.github.io/docs