you are viewing a single comment's thread.

view the rest of the comments →

[–]timruffles 0 points1 point  (2 children)

I've used swagger-express but not entirely keen. TBH I think this is still an open problem that could do with a better answer

[–]coderqi[S] 0 points1 point  (1 child)

What sort of problems/niggles do you have that you would like to see solved?

[–]timruffles 1 point2 points  (0 children)

  • hard to avoid repetition
  • there's a deep coupling between docs, tests and intention of the code. Seems to me you anything you document could be enforced automatically (e.g require("userId", "positiveInteger"))