fix: fix spelling in error message (#455)

This commit is contained in:
Morgan Terry 2018-04-16 23:51:08 -06:00 committed by Roman Hotsiy
parent 1aa7d5d279
commit 64119c44d4

View File

@ -204,7 +204,7 @@ export class OpenAPIParser {
receiver.type !== undefined &&
subSchema.type !== undefined
) {
throw new Error(`Uncopatible types in allOf at "${$ref}"`);
throw new Error(`Incompatible types in allOf at "${$ref}"`);
}
if (subSchema.type !== undefined) {