Skip to content

Commit

Permalink
Handle refs in REF type checks (aws-cloudformation#3024)
Browse files Browse the repository at this point in the history
  • Loading branch information
kddejong committed Feb 7, 2024
1 parent 9bce91d commit 455113e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/cfnlint/jsonschema/_validators_cfn.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,9 @@ def validate(
return

parameter_type = validator.context.parameters[value].type
schema_types = ensure_list(s.get("type", ["string"]))
schema_types = _resolve_type(validator, s)
if not schema_types:
return
reprs = ", ".join(repr(type) for type in schema_types)

if all(
Expand Down

0 comments on commit 455113e

Please sign in to comment.