Use double quotes, see following swagger schema: DownForMaintenance: description: "We're currently down for maintenance." schema: $ref: "#/definitions/Error" headers: content-type: description: "Response content-type" type: string Will generate tests that fail: it('should respond with 503 We're currently down for...', function(done) { it('should respond with 503 We < HEREBEPROBLEM >'< ENDPROBLEM > re currently down for...', function(done) { I.e. the first value passed to it, if contains a single quote results in the it statement being open and breaking the code.
Use double quotes, see following swagger schema:
DownForMaintenance:
description: "We're currently down for maintenance."
schema:
$ref: "#/definitions/Error"
headers:
content-type:
description: "Response content-type"
type: string
Will generate tests that fail:
it('should respond with 503 We're currently down for...', function(done) {
it('should respond with 503 We < HEREBEPROBLEM >'< ENDPROBLEM > re currently down for...', function(done) {
I.e. the first value passed to it, if contains a single quote results in the it statement being open and breaking the code.