XP is just a number | |
PerlMonks |
Re: RFC: Swagger-codegen for Perlby TGI (Parson) |
on May 26, 2015 at 06:39 UTC ( [id://1127774]=note: print w/replies, xml ) | Need Help?? |
I am thrilled to see Swagger and Perl working together. After the most superficial review, one thing stands out. The APIClient.mustache file uses the best-avoided Switch module. There are a number of ways to write the code without switch. I recommend either chaining if () {} elsif () {} or using a hash as a dispatch table. I'll try to get a more in depth look, and see if I have any other comments.
In Section
Meditations
|
|