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
Try & Servers
allow-try
Enables the interactive "TRY" console allowing users to test live API calls directly from their browser.Default: true
Live interactive endpoint testing console
show-curl-before-try
When set to true, generates and displays copyable cURL commands directly within the endpoint documentation prior to clicking "TRY".Default: false
Display cURL command before invoking API
allow-server-selection
Enables the dropdown allowing users to switch between target servers declared in the OpenAPI spec.Default: true
Allow switching between configured API server URLs