Skip to content

Commit

Permalink
Handle refs in REF type checks (#3024)
Browse files Browse the repository at this point in the history
  • Loading branch information
kddejong committed Apr 15, 2024
1 parent a9ff557 commit b2302af
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 b2302af

Please sign in to comment.