From 0826afeab617f328820cefe02a93a02eaeec189f Mon Sep 17 00:00:00 2001 From: Matatjahu Date: Thu, 25 Aug 2022 11:54:58 +0200 Subject: [PATCH] integrate schema rule with spectral ruleset --- src/spectral.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spectral.ts b/src/spectral.ts index 8dff3cd77..fa66a2ffa 100644 --- a/src/spectral.ts +++ b/src/spectral.ts @@ -11,10 +11,10 @@ export function configureSpectral(parser: Parser) { } function configureRuleset(parser: Parser): RulesetDefinition { - // We do not use these two given rules from the official ruleset due to the fact that the given rules validate only AsyncAPI Schemas and prevent defining schemas in other formats const rules = { ...aasRuleset.rules, 'asyncapi-schemas-v2': aas2schemaParserRule(parser), + // We do not use these two given rules from the official ruleset due to the fact that the given rules validate only AsyncAPI Schemas and prevent defining schemas in other formats 'asyncapi-payload-unsupported-schemaFormat': undefined, 'asyncapi-payload': undefined, };