ngx-smart-schematics
v1.0.1
Published
Schematics to generate services and Data Transfer Objects to communicate with an API
Downloads
84
Maintainers
Readme
NGX SMART SCHEMATICS
A very useful schematics collection to save you time and focus on what matters !
| Schematic | What it does | | ------ | ------ | | openapi | Generates services and model Data Transfer Objects to communicate with an API |
How to install
npm install ngx-smart-schematics --save-dev
Install Peer Dependencies
If you don't have all package dependencies, install them :
npm install @schematics/angular @types/node typescript swagger-parser
How to use
Each schematic has its own README. Please refer to the README on Github.
Quick Start
Want to generate code to communicate with an API ?
ng g ngx-smart-schematics:openapi --api=/path/to/api.json