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
Shows each operation's HTTP method (GET, POST, etc.) at the start of its sidebar item, in a column of its own: as plain text, colored text, or a colored block with a three-letter method. false shows the summary alone.Default: as-colored-text
Sidebar HTTP method badge presentation style
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