@fresha/openapi-codegen-client-fetch
TypeScript icon, indicating that this package has built-in type declarations

0.6.1 • Public • Published

@fresha/openapi-codegen-client-fetch

OpenAPI code generator for TypeScript clients using Fetch API.

Installation

This generator is installed along with @fresha/openapi-codegen.

$ npm install @fresha/openapi-codegen

Usage

Listing available options

npx fresha-openapi-codegen client-fetch --help

Generating source code

npx fresha-openapi-codegen client-fetch \
  --input PATH_TO_OPENAPI_SCHEMA_FILE
  --output ROOT_DIR_NPM_PROJECT
  --json-api

where:

--json-api is used to make generator generate the code according to JSON:API specification

Package Sidebar

Install

npm i @fresha/openapi-codegen-client-fetch

Weekly Downloads

6

Version

0.6.1

License

MIT

Unpacked Size

122 kB

Total Files

55

Last publish

Collaborators

  • dziala
  • kondrat-fresha
  • dnaploszek
  • rafal.panasiuk.fresha
  • mykulyak
  • fresha_root
  • wokay_fresha