@chnn/oats
v0.3.0
Published
``` yarn add -D @chnn/oats ```
Downloads
3
Readme
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
Installation
yarn add -D @chnn/oats
Usage
$ yarn run oats --help
Usage: oats [options] <spec>
Options:
--types-only only output type definitions
-h, --help output usage information