fix incorrect method name (#14720)

This commit is contained in:
RInverid
2023-02-16 15:22:55 +01:00
committed by GitHub
parent 6095d2df75
commit 9be92fabd1
17 changed files with 38 additions and 38 deletions

View File

@@ -74,7 +74,7 @@ class FileSchemaTestClass {
}
// validate the optional field `files` (array)
for (const item of data['files']) {
File.validateJsonObject(item);
File.validateJSON(item);
};
}

View File

@@ -106,7 +106,7 @@ class Pet {
}
// validate the optional field `tags` (array)
for (const item of data['tags']) {
Tag.validateJsonObject(item);
Tag.validateJSON(item);
};
}
// ensure the json data is a string