@straw-hat/openapi-web-sdk-generator
TypeScript icon, indicating that this package has built-in type declarations

3.0.2 • Public • Published

@straw-hat/openapi-web-sdk-generator

Usage

  • Reference guides Please use yarn docs:reference to generate the reference docs.

Before anything, we need to enable the generators, to do that we will create a file in the package root directory following cosmiconfig configuration.

touch openapi-web-sdk-generator.config.yaml

Then add the generators.

// <rootDir>/openapi-web-sdk-generator.config.yaml

generators:
  - path: '@straw-hat/openapi-web-sdk-generator/dist/generators/fetcher/index.js'
    config:
      outputDir: './operations'

Run the generator command.

sht-openapi-web-sdk-generator local \
  --config='./data/openapi.json'

Command Topics

What's next?

Package Sidebar

Install

npm i @straw-hat/openapi-web-sdk-generator

Weekly Downloads

1

Version

3.0.2

License

MIT

Unpacked Size

173 kB

Total Files

69

Last publish

Collaborators

  • ubi