Linting, updated swagger schema, fixed coercion on undefined.

lol don't know how that happened.