Skip to content

Commit f0f48ad

Browse files
committed
feat: add rawConfig for Arazzo preprocessors and decorators
1 parent d1a1656 commit f0f48ad

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.changeset/cool-mails-invent.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@redocly/openapi-core": patch
3+
---
4+
5+
Updated `StyleguideConfig` definition for Arazzo Preprocessors and Decorators.

packages/core/src/config/config.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,10 @@ export class Config {
112112
...resolvedConfig.preprocessors,
113113
...resolvedConfig.async3Preprocessors,
114114
},
115-
arazzo1: { ...resolvedConfig.arazzo1Preprocessors },
115+
arazzo1: {
116+
...resolvedConfig.preprocessors,
117+
...resolvedConfig.arazzo1Preprocessors,
118+
},
116119
overlay1: {
117120
...resolvedConfig.preprocessors,
118121
...resolvedConfig.overlay1Preprocessors,
@@ -125,7 +128,7 @@ export class Config {
125128
oas3_1: { ...resolvedConfig.decorators, ...resolvedConfig.oas3_1Decorators },
126129
async2: { ...resolvedConfig.decorators, ...resolvedConfig.async2Decorators },
127130
async3: { ...resolvedConfig.decorators, ...resolvedConfig.async3Decorators },
128-
arazzo1: { ...resolvedConfig.arazzo1Decorators },
131+
arazzo1: { ...resolvedConfig.decorators, ...resolvedConfig.arazzo1Decorators },
129132
overlay1: {
130133
...resolvedConfig.decorators,
131134
...resolvedConfig.overlay1Decorators,

0 commit comments

Comments
 (0)