From e516714d5c30aa5a36f58ef894c1ec5bda420513 Mon Sep 17 00:00:00 2001 From: Morgan Terry Date: Mon, 16 Apr 2018 13:56:24 -0600 Subject: [PATCH] Fix spelling in error message --- src/services/OpenAPIParser.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/OpenAPIParser.ts b/src/services/OpenAPIParser.ts index 1d18a4d47e..758d3f1d2e 100644 --- a/src/services/OpenAPIParser.ts +++ b/src/services/OpenAPIParser.ts @@ -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) {