function isObjectSchema()

in functions/error-response.js [15:18]


function isObjectSchema(schema) {
  // When schema contains $ref, that means it is recursive
  return schema.type === 'object' || !!schema.properties || schema.$ref;
}