apiDescriptionUrl
- OpenAPI document URL, supportinghttp://
,https://
, and documents containing$ref
to other http(s) documents.apiDescriptionDocument
- OpenAPI document, provided as YAML string, JSON string, or JavaScript object.basePath
- Helps when usingrouter: 'history'
but docs are in a subdirectory likehttps://example.com/docs/api
.hideInternal
- Pass"true"
to filter out any content which has been marked as internal withx-internal
.hideTryIt
- Passtrue
to hide the Try It feature.hideSchemas
- Passtrue
to hide the schemas in the Table of Contents, when using thesidebar
layout.hideExport
- Passtrue
to hide the Export button on overview section of the documentation.tryItCorsProxy
- Pass the URL of a CORS proxy used to send requests to the Try It feature. The provided URL is pre-pended to the URL of an actual request.tryItCredentialsPolicy
- Use to fetch the credential policy for the Try It feature. Options are:omit
(default),include
, andsame-origin
.layout
- There are two layouts for Elements:sidebar
- (default) Three-column design with a sidebar that can be resized.stacked
- Everything in a single column, making integrations with existing websites that have their own sidebar or other columns already.
logo
- URL to an image that displays as a small square logo next to the title, above the table of contents.router
- Determines how navigation should work:history
- (default) uses the HTML5 history API to keep the UI in sync with the URL.hash
- uses the hash portion of the URL to keep the UI in sync with the URL.memory
- keeps the history of your "URL" in memory (doesn't read or write to the address bar).static
- renders using the StaticRouter which can help render pages on the server.