Skip to content

Commit

Permalink
Changed logging message
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaslagoni committed May 20, 2021
1 parent 14ec5ed commit 4b5696f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interpreter/InterpretAllOf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4b5696f

Please sign in to comment.