What kind of APIs are you trying to generate? If you're trying to do more than REST/HTTP APIs, you can check out Quark (https://github.com/datawire/quark).
We're developing apiplug.com to solve this problem. We also produce swagger documentation as a side product. Free in beta right now. Supports nodejs & php.