Fix spelling in error message

This commit is contained in:
Morgan Terry 2018-04-16 13:56:24 -06:00
parent 1aa7d5d279
commit e516714d5c

View File

@ -204,7 +204,7 @@ export class OpenAPIParser {
receiver.type !== undefined && receiver.type !== undefined &&
subSchema.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) { if (subSchema.type !== undefined) {