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. Besides true and false, it takes the terms of filter-operations to turn Try on only for the operations they select: !deprecated !tag:pending-implementation keeps it off for deprecated operations and those tagged pending-implementation. The others keep their request documentation and show a disabled TRY DISABLED button. The Authentication section stays usable unless it is false.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