OPTIONS

RapiDoc properties

Spec
Layout & Scrolling
render-style
Controls the overall documentation presentation layout. Three distinct modes are supported:
  • view: Optimized for interactive exploration with collapsible operations | Example
  • read: Continuous narrative page layout, ideal for reading through API specifications from top to bottom | Example
  • focused: Displays a single endpoint at a time with a dedicated sidebar, ideal for large enterprise schemas | Example
Default: read
Display mode: Read for docs, View with tabs, Focused for single endpoint
Sidebar & Navigation
show-method-in-nav-bar
Displays HTTP methods (GET, POST, etc.) alongside endpoint items in the navigation sidebar. Ensure sufficient contrast if customizing nav-bg-color.Default: false
Sidebar HTTP method badge presentation style
nav-item-spacing
Controls vertical density and padding between sidebar navigation items.Default: default
Vertical spacing between sidebar navigation items
use-path-in-nav-bar
Displays raw API URL paths in the navigation bar instead of operation summaries.
NOTE: Setting this to true displays the path only. To display the HTTP method alongside the path, also configure show-method-in-nav-bar.
Default: false
Show URL paths instead of summaries in the sidebar