code: function validateResponse (code, response, responseId) {
    if (code !== "default" && (code < 100 || code > 599)) {
      throw ono.syntax("Validation failed. %s has an invalid response code (%s)", responseId, code);
    }
  
    var headers = Object.keys(response.headers || {});
    headers.forEach(function (headerName) {
      var header = response.headers[headerName];
      var headerId = responseId + "/headers/" + headerName;
      validateSchema(header, headerId, primitiveTypes);
    });
  
    if (response.schema) {
      var validTypes = schemaTypes.concat("file");
      if (validTypes.indexOf(response.schema.type) === -1) {
        throw ono.syntax(
          "Validation failed. %s has an invalid response schema type (%s)", responseId, response.schema.type);
      }
      else {
        validateSchema(response.schema, responseId + "/schema", validTypes);
      }
    }
  }
docs: Validates the given response object.
  
  @param   {string}    code        -  The HTTP response code (or "default")
  @param   {object}    response    -  A Response object, from the Swagger API
  @param   {string}    responseId  -  A value that uniquely identifies the response