Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Fałdrowicz committed Sep 12, 2024
1 parent cdc7b8c commit b50dfd7
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 b50dfd7

Please sign in to comment.