You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'Path to handlebars page template, see https://github.com/Redocly/redocly-cli/blob/main/packages/cli/src/commands/build-docs/template.hbs for the example.',
579
579
type: 'string',
580
580
},
581
+
redocVersion: {
582
+
describe: 'Version of Redoc to use.',
583
+
type: 'string',
584
+
},
581
585
templateOptions: {
582
586
describe:
583
587
'Additional options to pass to the template. Use dot notation, e.g. templateOptions.metaDescription',
584
588
},
585
-
theme: {
589
+
openapi: {
586
590
describe:
587
-
'Redoc theme.openapi configuration. Use dot notation, e.g. theme.openapi.nativeScrollbars',
591
+
'Redoc openapi configuration. Use dot notation, e.g. openapi.hideDownloadButtons',
588
592
},
589
593
config: {
590
594
describe: 'Path to the config file.',
@@ -596,9 +600,9 @@ yargs(hideBin(process.argv))
596
600
default: 'warn'asRuleSeverity,
597
601
},
598
602
})
599
-
.check((argv: any)=>{
600
-
if(argv.theme&&!argv.theme?.openapi)
601
-
throwError('Invalid option: theme.openapi not set.');
0 commit comments