1.0.1 โ€ข Published 8 months ago

@sngular/openapi-nodejs-cli v1.0.1

Weekly downloads
-
License
Mozilla Public Li...
Repository
github
Last release
8 months ago

README

License: MPL 2.0 npm version Codacy Badge

๐Ÿ“œ Summary

openapi-nodejs-cli is a typescript code generator from an OpenApi document.

openapi-nodejs-cli can generate nodejs, typescript client and Angular client methods from an OpenApi document.

๐Ÿš€ Getting Started

Node version

This generator requires the Node version >=17.7.1 to run properly

How to install

npm i @sngular/openapi-nodejs-cli --global

๐Ÿง‘๐Ÿปโ€๐Ÿ’ป Usage

npx openapi-nodejs-cli -i input/schema.yaml

You can retrieve an option list with this command:

npx openapi-nodejs-cli --help
Usage: openapi-nodejs-cli [options]

Options:
  -V, --version             output the version number
  -i, --input <string...>   OpenAPI spec URLs or directories
  -o, --output <string...>  Output folder
  --client                  only generate client code
  --server                  only generate server code
  --angular                 generate client code for Angular
  --javascript              generate the code as plain JavaScript instead of TypeScript
  -h, --help                shows this help

๐Ÿงฐ Support

Weโ€™ll be glad to talk and discuss how openapi-nodejs-cli can help you ๐Ÿ˜Š

Reach us through GitHub issues, email or Twitter.

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/. License: MPL 2.0

1.0.1

8 months ago

1.0.0

11 months ago

0.4.1

11 months ago

0.4.0

11 months ago

0.2.0

12 months ago

0.1.1

12 months ago

0.1.0

12 months ago

0.3.0

12 months ago