Skip to content

Commit

Permalink
Update validate.js
Browse files Browse the repository at this point in the history
  • Loading branch information
savvar9991 authored Jan 2, 2025
1 parent 6d88b73 commit cc55653
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions validate.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -79,7 +79,7 @@ async function derefAll(doc) {

/**
* Retrieve external schema definitions, from other files.
* @param {Map<string,string} externalRefs Mapping of schema definitions, pointing to external files.
* @param {Map<string,string>} externalRefs Mapping of schema definitions, pointing to external files.
* @returns The actual referenced schema objects
*/
async function fetchExternalSchemas(externalRefs) {
Expand Down

0 comments on commit cc55653

Please sign in to comment.