mirror of
https://github.com/LukeHagar/redocly-cli.git
synced 2025-12-07 12:47:49 +00:00
chore: rename features.openapi and features.mockServer to theme (#995)
This commit is contained in:
@@ -36,10 +36,10 @@ export function getObjectOrJSON(
|
||||
}
|
||||
break;
|
||||
default: {
|
||||
if (config.configFile) {
|
||||
if (config) {
|
||||
process.stderr.write(`Found ${config.configFile} and using theme.openapi options`);
|
||||
|
||||
return config['features.openapi']; // FIXME: rename features.openapi to theme.openapi after global renaming inside repo.
|
||||
return config.theme.openapi ? config.theme.openapi : {};
|
||||
}
|
||||
return {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user