[#528 #527] Fixes swagger 1.2 contract tests and bug with body parameters