From 1e99fe1313b233c413470afcd7cddf849e559eb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Fa=C5=82drowicz?= Date: Thu, 12 Sep 2024 11:40:47 +0200 Subject: [PATCH] typo --- .../pl/touk/nussknacker/engine/json/swagger/SwaggerTyped.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/json-utils/src/main/scala/pl/touk/nussknacker/engine/json/swagger/SwaggerTyped.scala b/utils/json-utils/src/main/scala/pl/touk/nussknacker/engine/json/swagger/SwaggerTyped.scala index a18037b3cca..cc876093962 100644 --- a/utils/json-utils/src/main/scala/pl/touk/nussknacker/engine/json/swagger/SwaggerTyped.scala +++ b/utils/json-utils/src/main/scala/pl/touk/nussknacker/engine/json/swagger/SwaggerTyped.scala @@ -173,7 +173,7 @@ object SwaggerTyped { Option(schema.getType) .orElse(Option(schema.getTypes).map(_.asScala.head)) - // `resolveListOfObjects` flag allows one to stop resolving Type recursion for SwaggerArray[SwaggerObject] + // `resolveListOfObjects` flag allows one to stop resolving Type recursion for SwaggerArray[SwaggerObject] // this is needed for correct validations in openApi enrichers with input parameters that contains list of objects with optional fields // TODO: validations in openApi enrichers should be based on actual schema instead of `TypingResult` instance def typingResult(swaggerTyped: SwaggerTyped, resolveListOfObjects: Boolean = true): TypingResult =