mirror of
https://github.com/LukeHagar/redocly-cli.git
synced 2025-12-06 04:21:09 +00:00
fix: apply configurable rules for arazzo (#1721)
This commit is contained in:
6
.changeset/tough-shirts-invite.md
Normal file
6
.changeset/tough-shirts-invite.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"@redocly/openapi-core": patch
|
||||
"@redocly/cli": patch
|
||||
---
|
||||
|
||||
Fixed an issue where custom rules were not applied to Arazzo descriptions.
|
||||
@@ -73,7 +73,10 @@ export class StyleguideConfig {
|
||||
[SpecVersion.OAS3_1]: { ...rawConfig.rules, ...rawConfig.oas3_1Rules },
|
||||
[SpecVersion.Async2]: { ...rawConfig.rules, ...rawConfig.async2Rules },
|
||||
[SpecVersion.Async3]: { ...rawConfig.rules, ...rawConfig.async3Rules },
|
||||
[SpecVersion.Arazzo]: { ...rawConfig.arazzoRules },
|
||||
[SpecVersion.Arazzo]: {
|
||||
...rawConfig.arazzoRules,
|
||||
...(rawConfig.rules?.assertions ? { assertions: rawConfig.rules.assertions } : {}),
|
||||
},
|
||||
};
|
||||
|
||||
this.preprocessors = {
|
||||
|
||||
Reference in New Issue
Block a user