Scaffolding Angular Client From Swagger.json
I have uploaded this project to Github https://github.com/Alex-1557/ScaffoldingAngularClentFromSwagger.
This is input of this project
![](/ScaffoldingAngularClentFromSwagger/Input-1_1.png)
Result is Angular client to allow perform each backend Api in each controllers, you can see it in http://www.cryptochest.io:130.
![](/ScaffoldingAngularClentFromSwagger/Result-2_1.png)
![](/ScaffoldingAngularClentFromSwagger/Result-1_1.png)
In my case I have 168 Angular components
![](/ScaffoldingAngularClentFromSwagger/Result-3_1.png)
and each API has a lot of parameters
Each input Api parameters we need to accuracy processing in *.TS file.
![](/ScaffoldingAngularClentFromSwagger/Form-2_1.png)
And than repeats this job 168 times (without any syntax mistakes!). This is impossible job to do this manually. Therefore I have created this project to build Angular front automatically.
Also this project produced two additional files needed for Angular client.
![](/ScaffoldingAngularClentFromSwagger/Service-1_1.png)
![](/ScaffoldingAngularClentFromSwagger/Service-2_1.png)
And components list you need to insert to app.modules.ts
Project has a two minor bugs, not exactly a bugs, little bit inaccuracy, but sorry I have no more time for this job, because this inaccuracy can fix so simple with CS Code intellisence.
![](http://forum.vb-net.com/GetTopicCount.png?id=a41dfbb5-b6b1-4a8d-a2ac-442a0452f123)
<SITEMAP> <MVC> <ASP> <NET> <DATA> <KIOSK> <FLEX> <SQL> <NOTES> <LINUX> <MONO> <FREEWARE> <DOCS> <ENG> <CHAT ME> <ABOUT ME> < THANKS ME> |