You seem to be using as JSON in the generated code I would use respond(commandObject.errors) instead technically would be better, because then the consumer, could choose, json or xml(even though I loathe xml)
You seem to be using as JSON in the generated code
I would use respond(commandObject.errors) instead
technically would be better, because then the consumer, could choose, json or xml(even though I loathe xml)