From 8710f530d6588d09709a58ed22e81d8ca41c6d08 Mon Sep 17 00:00:00 2001 From: Timon Back Date: Wed, 4 Dec 2024 16:42:57 +0100 Subject: [PATCH] fix: always allow schema string examples (#1007) Co-authored-by: Jonas Lagoni --- .../ruleset/v2/functions/schemaValidation.ts | 2 +- .../v2/asyncapi2-schema-examples.spec.ts | 36 +++++++++---------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/packages/parser/src/ruleset/v2/functions/schemaValidation.ts b/packages/parser/src/ruleset/v2/functions/schemaValidation.ts index 845a90005..6e56538b6 100644 --- a/packages/parser/src/ruleset/v2/functions/schemaValidation.ts +++ b/packages/parser/src/ruleset/v2/functions/schemaValidation.ts @@ -64,7 +64,7 @@ export const schemaValidation = createRulesetFunction