Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,7 @@ Edit **rt-authenticity.yml** - remove **components.schemas.AuthenticityCheckResu

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

## Bundle scheme to single .json file
Expand Down
13 changes: 13 additions & 0 deletions redocly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
theme:
openapi:
hideDownloadButton: true
maxDisplayedEnumValues: 5
expandResponses: 'all'
expandSingleSchemaField: true
jsonSampleExpandLevel: 6
theme:
logo:
gutter: '20px'
colors:
primary:
main: '#8a53cb'