From e490d969c86dfa96f3bc420684bbcfbc0359efdd Mon Sep 17 00:00:00 2001 From: Patrick Boos Date: Thu, 19 Oct 2023 09:33:28 +0200 Subject: [PATCH] Log spec file that was not found --- .../validation/core/OpenApiInteractionValidatorFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openapi-validation-core/src/main/java/com/getyourguide/openapi/validation/core/OpenApiInteractionValidatorFactory.java b/openapi-validation-core/src/main/java/com/getyourguide/openapi/validation/core/OpenApiInteractionValidatorFactory.java index 0822e69..90e228e 100644 --- a/openapi-validation-core/src/main/java/com/getyourguide/openapi/validation/core/OpenApiInteractionValidatorFactory.java +++ b/openapi-validation-core/src/main/java/com/getyourguide/openapi/validation/core/OpenApiInteractionValidatorFactory.java @@ -36,7 +36,7 @@ public OpenApiInteractionValidatorWrapper build( var specOptional = loadOpenAPISpec(specificationFilePath); if (specOptional.isEmpty()) { - log.info("OpenAPI spec file could not be found [validation disabled]"); + log.info("OpenAPI spec file `{}` could not be found [validation disabled]", specificationFilePath); return null; }