Skip to content
This repository was archived by the owner on Nov 24, 2022. It is now read-only.

Commit 3be5b02

Browse files
author
Shubho
committed
Elevate log level to WARNING when a conflicting Example is found
1 parent a4d65b4 commit 3be5b02

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/swagger-parser-v3/src/main/java/io/swagger/v3/parser/processors/ExternalRefProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public String processRefToExternalSchema(String $ref, RefFormat refFormat) {
7373
Schema existingModel = schemas.get(possiblyConflictingDefinitionName);
7474

7575
if (existingModel != null) {
76-
LOGGER.debug("A model for " + existingModel + " already exists");
76+
LOGGER.warn("A model for " + existingModel + " already exists");
7777
if(existingModel.get$ref() != null) {
7878
// use the new model
7979
existingModel = null;

0 commit comments

Comments
 (0)