fix: allow additional properties in theme.openapi (#1482)

This commit is contained in:
volodymyr-rutskyi
2024-03-14 14:49:46 +02:00
committed by GitHub
parent f2cc3f28be
commit b5b3d76e3a
2 changed files with 6 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
---
"@redocly/openapi-core": patch
---
Allowed additional properties in `theme.openapi` config schema to enable libraries that use `@redocly/openapi-core` for configuration linting to extend this part of the schema.

View File

@@ -1050,7 +1050,7 @@ const ConfigReferenceDocs: NodeType = {
preserveOriginalExtensionsName: { type: 'boolean' },
markdownHeadingsAnchorLevel: { type: 'number' },
},
additionalProperties: { type: 'string' },
additionalProperties: {},
};
const ConfigMockServer: NodeType = {