diff --git a/validate.js b/validate.js index 9e8b873..be05615 100755 --- a/validate.js +++ b/validate.js @@ -42,7 +42,7 @@ async function fetchExternalRefsFor(docToParse) { * For a given dereferencer object, make sure its initial refs don't include refs that are already * in the ref cache it has. So it won't try to resolve these. * - * @param {Dereferencer} dereffer The dereferncer object + * @param {Dereferencer} dereffer The dereferencer object * @returns The amended dereferencer. */ function fixRefs(dereffer) { @@ -79,7 +79,7 @@ async function derefAll(doc) { /** * Retrieve external schema definitions, from other files. - * @param {Map} externalRefs Mapping of schema definitions, pointing to external files. * @returns The actual referenced schema objects */ async function fetchExternalSchemas(externalRefs) {