An opinionated OpenAPI doc to TypeScript HTTP client generator.
In comparison to openapi-generator:
- Strives to generate readable output
- Supports enums,
oneOf
, andallOf
- Does not require Java runtime
- Generates
fetch
-based HTTP client with typed error responses - Does not support significant portions of the OpenAPI spec
yarn add -D @influxdata/oats
$ yarn run oats --help
Usage: oats [options] <spec>
Options:
-h, --help output usage information
See CONTRIBUTING.md
.