Skip to content

Commit

Permalink
fix: add the missing path-only option to sideNavStyle
Browse files Browse the repository at this point in the history
  • Loading branch information
tatomyr committed Jan 14, 2025
1 parent a83c292 commit be99205
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 10 deletions.
6 changes: 6 additions & 0 deletions .changeset/brave-hotels-deny.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@redocly/openapi-core": patch
"@redocly/cli": patch
---

Updated the `sideNavStyle` configuration schema to include the `path-only` option.
17 changes: 9 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
],
"dependencies": {
"@redocly/ajv": "^8.11.2",
"@redocly/config": "^0.17.0",
"@redocly/config": "^0.20.1",
"colorette": "^1.2.0",
"https-proxy-agent": "^7.0.4",
"js-levenshtein": "^1.1.6",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/types/redocly-yaml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1093,7 +1093,7 @@ const ConfigReferenceDocs: NodeType = {
showObjectSchemaExamples: { type: 'boolean' },
disableTryItRequestUrlEncoding: { type: 'boolean' },
sidebarLinks: 'ConfigSidebarLinks',
sideNavStyle: { enum: ['summary-only', 'path-first', 'id-only'] },
sideNavStyle: { enum: ['summary-only', 'path-first', 'id-only', 'path-only'] },
simpleOneOfTypeLabel: { type: 'boolean' },
sortEnumValuesAlphabetically: { type: 'boolean' },
sortOperationsAlphabetically: { type: 'boolean' },
Expand Down

0 comments on commit be99205

Please sign in to comment.