Skip to content

Commit

Permalink
fix: invalid behaviour for stringSchema in allOfToConnectSchema
Browse files Browse the repository at this point in the history
  • Loading branch information
MaciasMucias authored and rayokota committed Mar 11, 2024
1 parent 3c0a07a commit ae0e314
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -1178,6 +1178,7 @@ private Schema allOfToConnectSchema(
// This is a number or integer with a format
return toConnectSchema(ctx, numberSchema, version, forceOptional);
}
return toConnectSchema(ctx, stringSchema, version, forceOptional);
}
throw new IllegalArgumentException("Unsupported criterion "
+ combinedSchema.getCriterion() + " for " + combinedSchema);
Expand Down

0 comments on commit ae0e314

Please sign in to comment.