Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Fałdrowicz authored and vder committed Sep 16, 2024
1 parent c7e793c commit 1e99fe1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit 1e99fe1

Please sign in to comment.