News for hackers. Stuff that matters.
Re:SOA Series Part 3: Documenting and Generating Your APIs by curun1r on Thursday June 26, 2014 @07:26PM (#7952048)
I've had the opposite experience trying to work with Swagger in a dynamic server-side language (node). It's just a major pain to work with and the node implementation has many obvious bugs that are being ignored by the developer. Swagger, to me, only seems to be a good option when most of the meta data is coming from static analysis. It works well in languages like Java, but not so much in languages that are less syntactically strict. And since it's not really designed to be written by a human, you're stuck having to use some hack (either of your own design or the poor 3rd-party options currently available) to generate the Swagger json.

I've been much happier with http://apiblueprint.org/ and it's approach of making the executable documentation writable by developers.

Re:SOA Series Part 3: Documenting and Generating Your APIs by cmain on Friday June 27, 2014 @11:42AM (#7954472)
Ah, we are using Java and using the Swagger jax-rs implementation as well. Good point though, not too surprised the Node implementation is lackluster.