0.3.0 • Published 6 years ago
@chnn/oats v0.3.0
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/oatsUsage
$ yarn run oats --helpUsage: oats [options] <spec>
Options:
  --types-only  only output type definitions
  -h, --help    output usage information