hocho
v0.0.9
Published
Angular 1.X REST API client generator from Swagger JSON with camel case settings
Downloads
59
Maintainers
Readme
Hocho
AngularJS 1.X API client generator from Swagger JSON specification
Description
This package generates a AngularJS 1.X TypeScript classes from a Swagger v2.0 specification file. The code is generated using Mustache templates.
How to get it working
Installation
npm install hocho
or
git clone https://github.com/Ian5015/hochocd hochonpm installnpm run build
Usage
From command line, run:
hocho -s [yopur/path/to/swagger.json]or
hocho -u [url/of/your/swagger.json]Example usage:
This command will generate API client described in swagger.json file to ./out folder
hocho -s ./tests/apis/swagger.json -o ./outor from repository directory run:
node ./src/hocho -s ./tests/apis/swagger.json -o ./outNote:
This project was inspired by swagger-js-codegen project.
