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 =