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
Header & Sections
allow-spec-url-load
When set to false, disables the input field allowing users to load arbitrary external OpenAPI specification URLs.Default: true
Allow loading arbitrary OpenAPI spec by URL
allow-spec-file-load
When set to false, hides the file picker allowing users to upload and preview local OpenAPI spec files (desktop viewports >768px).Default: true
Allow uploading and viewing local OpenAPI spec file
allow-spec-file-download
When set to true, displays convenient buttons in the overview section to download the raw OpenAPI specification file or view it in a new tab.Default: false
Show download button for the active OpenAPI spec
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