Adds defaultValue to non-body parameters

Renames devaultValue
Fixes failing test caused by model property order
Merge pull request #745 from adrianbk/default-values

Adds defaultValue to non-body parameters