Open Koc opened 6 years ago
Is there an update on this?
I wrote a little python script to generate Interface files and the implemenation class files. https://github.com/yohanespradono/magento-service-data-generator
It doesn't generate from an interface but instead it uses a yaml file.
http://inchoo.net/magento-2/magento-2-custom-api/
Consider we have an interface for API
Would be nice if Magicento allows generate getters/setters for constants:
And model class with implementation of this getters/setters:
With proper phpdocs, of course.