Skip to content

ghzcool/swagger-react-generator

Repository files navigation

swagger-react-generator

Generate client API for React based on Swagger JSON

##Usage

node node_modules/swagger-react-generator -I /swagger.json -O /src/generated-api/index.js

-I Input path to swagger.json file.

-O Output path to client api file location.

-T Template name. There are 2 templates implemented: "es6" as default and "ts".

-F Flat args. If defined then api functions will receive flat list of arguments.

-C Custom template path.

About

Generate client API for React based on Swagger JSON

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •