From d09b85f1fe6478864f3eea0fee6e4a3cc26aec6d Mon Sep 17 00:00:00 2001 From: Alex Varchuk Date: Wed, 18 May 2022 19:01:23 +0300 Subject: [PATCH] chore: sync options to features.openapi --- packages/core/src/types/redocly-yaml.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/packages/core/src/types/redocly-yaml.ts b/packages/core/src/types/redocly-yaml.ts index de90280ec5..f93ce5e330 100644 --- a/packages/core/src/types/redocly-yaml.ts +++ b/packages/core/src/types/redocly-yaml.ts @@ -392,6 +392,7 @@ const LinksConfig: NodeType = { color: { type: 'string' }, hover: { type: 'string' }, textDecoration: { type: 'string' }, + hoverTextDecoration: { type: 'string' }, visited: { type: 'string' }, }, }; @@ -513,6 +514,9 @@ const ConfigReferenceDocs: NodeType = { disableSidebar: { type: 'boolean' }, downloadDefinitionUrl: { type: 'string' }, expandDefaultServerVariables: { type: 'boolean' }, + enumSkipQuotes: { type: 'boolean' }, + expandDefaultRequest: { type: 'boolean'}, + expandDefaultResponse: { type: 'boolean'}, expandResponses: { type: 'string' }, expandSingleSchemaField: { type: 'boolean' }, generateCodeSamples: 'GenerateCodeSamples', @@ -527,6 +531,8 @@ const ConfigReferenceDocs: NodeType = { hideSchemaTitles: { type: 'boolean' }, hideSingleRequestSampleTab: { type: 'boolean' }, hideTryItPanel: { type: 'boolean' }, + hideFab: { type: 'boolean' }, + hideOneOfDescription: { type: 'boolean'}, htmlTemplate: { type: 'string' }, jsonSampleExpandLevel: { type: 'string' }, labels: 'ConfigLabels', @@ -547,6 +553,8 @@ const ConfigReferenceDocs: NodeType = { samplesTabsMaxCount: { type: 'number' }, schemaExpansionLevel: { type: 'string' }, schemaDefinitionsTagName: { type: 'string' }, + minCharacterLengthToInitSearch: { type: 'number' }, + maxResponseHeadersToShowInTryIt: {type: 'number'}, scrollYOffset: { type: 'string' }, searchAutoExpand: { type: 'boolean' }, searchFieldLevelBoost: { type: 'number' }, @@ -558,6 +566,8 @@ const ConfigReferenceDocs: NodeType = { showExtensions: { type: 'boolean' }, showNextButton: { type: 'boolean' }, showRightPanelToggle: { type: 'boolean' }, + showWebhookVerb: { type: 'boolean' }, + showObjectSchemaExamples: { type: 'boolean' }, sidebarLinks: 'ConfigSidebarLinks', sideNavStyle: { type: 'string' }, simpleOneOfTypeLabel: { type: 'boolean' },