Skip to content

Commit 49f6664

Browse files
SP-19127 - update redocly (#219)
1 parent d29f9ee commit 49f6664

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,7 @@ Edit **rt-authenticity.yml** - remove **components.schemas.AuthenticityCheckResu
5050

5151
Then run next command:
5252
```
53-
npx redoc-cli bundle "$PWD/index.yml" --output document-reader-static-doc.html \
54-
--options.maxDisplayedEnumValues=5 --options.theme.logo.gutter="20px" \
55-
--options.theme.colors.primary.main="#8a53cb" --options.expandResponses="all" \
56-
--options.expandSingleSchemaField --options.hideDownloadButton --options.jsonSampleExpandLevel="6"
53+
npx @redocly/cli build-docs index.yml -o=document-reader-static-doc.html
5754
```
5855

5956
## Bundle scheme to single .json file

redocly.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
theme:
2+
openapi:
3+
hideDownloadButton: true
4+
maxDisplayedEnumValues: 5
5+
expandResponses: 'all'
6+
expandSingleSchemaField: true
7+
jsonSampleExpandLevel: 6
8+
theme:
9+
logo:
10+
gutter: '20px'
11+
colors:
12+
primary:
13+
main: '#8a53cb'

0 commit comments

Comments
 (0)