function responseOnlySchema()

in functions/readonly-in-response-schema.js [98:110]


function responseOnlySchema(schemaName, oasDoc) {
  const thisDocHash = hashCode(JSON.stringify(oasDoc));
  if (!requestSchemas || docHash !== thisDocHash) {
    getRequestSchemas(oasDoc);
    docHash = thisDocHash;
  }

  if (requestSchemas.has(schemaName)) {
    return false;
  }

  return true;
}