wordnik/swagger-node-express — pull request #101 by adamcarr (2014-03-09 00:53:17+00:00)
Title: Allowing replacement of specs

Fixed bug in addMethod to not look for method on api which doesn’t
exist. Returning from addMethod if replacing existing operation.
Replacing operation in array if matching method exists rather than
appending duplicate operations for the same method/path.