diff --git a/src/main/java/io/github/swagger2markup/internal/document/builder/DefinitionsDocumentBuilder.java b/src/main/java/io/github/swagger2markup/internal/document/builder/DefinitionsDocumentBuilder.java index c2d52b26..a564c781 100644 --- a/src/main/java/io/github/swagger2markup/internal/document/builder/DefinitionsDocumentBuilder.java +++ b/src/main/java/io/github/swagger2markup/internal/document/builder/DefinitionsDocumentBuilder.java @@ -109,11 +109,11 @@ public class DefinitionsDocumentBuilder extends MarkupDocumentBuilder { if (checkThatDefinitionIsNotInIgnoreList(definitionName)) { buildDefinition(definitionName, model); if (logger.isInfoEnabled()) { - logger.info("Definition processed : {}", definitionName); + logger.info("Definition processed : '{}'", definitionName); } } else { if (logger.isDebugEnabled()) { - logger.debug("Definition was ignored : {}", definitionName); + logger.debug("Definition was ignored : '{}'", definitionName); } } } @@ -162,7 +162,7 @@ public class DefinitionsDocumentBuilder extends MarkupDocumentBuilder { Path definitionFile = outputPath.resolve(resolveDefinitionDocument(definitionName)); defDocBuilder.writeToFileWithoutExtension(definitionFile, StandardCharsets.UTF_8); if (logger.isInfoEnabled()) { - logger.info("Separate definition file produced : {}", definitionFile); + logger.info("Separate definition file produced : '{}'", definitionFile); } definitionRef(definitionName, this.markupDocBuilder); diff --git a/src/main/java/io/github/swagger2markup/internal/document/builder/PathsDocumentBuilder.java b/src/main/java/io/github/swagger2markup/internal/document/builder/PathsDocumentBuilder.java index ba5e9477..c70da182 100644 --- a/src/main/java/io/github/swagger2markup/internal/document/builder/PathsDocumentBuilder.java +++ b/src/main/java/io/github/swagger2markup/internal/document/builder/PathsDocumentBuilder.java @@ -245,7 +245,7 @@ public class PathsDocumentBuilder extends MarkupDocumentBuilder { java.nio.file.Path operationFile = outputPath.resolve(resolveOperationDocument(operation)); pathDocBuilder.writeToFileWithoutExtension(operationFile, StandardCharsets.UTF_8); if (logger.isInfoEnabled()) { - logger.info("Separate operation file produced : {}", operationFile); + logger.info("Separate operation file produced : '{}'", operationFile); } buildOperationRef(operation, this.markupDocBuilder); @@ -255,7 +255,7 @@ public class PathsDocumentBuilder extends MarkupDocumentBuilder { } if (logger.isInfoEnabled()) { - logger.info("Operation processed : {} (normalized id = '{}')", operation, normalizeName(operation.getId())); + logger.info("Operation processed : '{}' (normalized id = '{}')", operation, normalizeName(operation.getId())); } } diff --git a/src/test/java/io/github/swagger2markup/assertions/DiffUtils.java b/src/test/java/io/github/swagger2markup/assertions/DiffUtils.java index 8d41b10b..02453465 100644 --- a/src/test/java/io/github/swagger2markup/assertions/DiffUtils.java +++ b/src/test/java/io/github/swagger2markup/assertions/DiffUtils.java @@ -38,7 +38,7 @@ public class DiffUtils { try (DirectoryStream directoryStream = Files.newDirectoryStream(expectedDirectory)) { for (Path expectedFile : directoryStream) { Path actualFile = actualDirectory.resolve(expectedFile.getFileName()); - LOGGER.info("Diffing file {} with {}", actualFile, expectedFile); + LOGGER.info("Diffing file '{}' with '{}'", actualFile, expectedFile); DiffAssertions.assertThat(actualFile).isEqualTo(expectedFile, reportPath); } } @@ -49,7 +49,7 @@ public class DiffUtils { public static void assertThatFileIsEqual(Path expectedFile, Path actualFile, String reportName) { Path reportPath = Paths.get("build/diff-report/", reportName); - LOGGER.info("Diffing file {} with {}", actualFile, expectedFile); + LOGGER.info("Diffing file '{}' with '{}'", actualFile, expectedFile); DiffAssertions.assertThat(actualFile).isEqualTo(expectedFile, reportPath); } }