From 4b5696f8a92a15ba879b116e3fe357eeabd920a9 Mon Sep 17 00:00:00 2001 From: Jonas Lagoni Date: Thu, 20 May 2021 13:21:53 +0200 Subject: [PATCH] Changed logging message --- src/interpreter/InterpretAllOf.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interpreter/InterpretAllOf.ts b/src/interpreter/InterpretAllOf.ts index 59cc7df607..be414cb672 100644 --- a/src/interpreter/InterpretAllOf.ts +++ b/src/interpreter/InterpretAllOf.ts @@ -21,7 +21,7 @@ export default function interpretAllOf(schema: Schema | boolean, model: CommonMo if (interpretedModels.length === 0) continue; const interpretedModel = interpretedModels[0]; if (isModelObject(interpretedModel) && interpreter.options.allowInheritance === true) { - Logger.info(`Processing allOf, inheritance is allowed, ${model.$id} inherits from ${interpretedModel.$id}`, model, interpretedModel); + Logger.info(`Processing allOf, inheritance is enabled, ${model.$id} inherits from ${interpretedModel.$id}`, model, interpretedModel); model.addExtendedModel(interpretedModel); } else { Logger.info('Processing allOf, inheritance is not enabled. AllOf model is merged together with already interpreted model', model, interpretedModel);