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
Authentication
allow-authentication
Controls the display of interactive authentication controls (HTTP Basic, Bearer Token, API Key, OAuth2). Disable to hide authentication dialogs when using hardcoded or pre-authenticated API keys.Default: true
Show the authentication controls
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
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
Header & Sections
show-header
Toggles the top navigation header bar. Set to false to prevent users from loading alternative spec URLs or to seamlessly embed inside existing layouts.Default: true
Display the top navbar header
show-info
Toggles visibility of the OpenAPI document info section (title, description, version, terms of service). Useful when embedding `` into an existing developer portal or knowledge base that already contains its own header.Default: true
Display OpenAPI document title and overview info