Scalar's configuration, by Scalar's own option names. customFetch
is a JavaScript function expression, written into the page as code.
Attributes#
| Attribute | Type | Description |
|---|---|---|
theme | ScalarThemeId | |
layout | Literal['modern', 'classic'] | |
proxyUrl | str | |
authentication | ScalarAuthentication | |
customFetch | str | |
showSidebar | bool | |
hideModels | bool | |
hideTestRequestButton | bool | |
hideSearch | bool | |
darkMode | bool | |
forceDarkModeState | Literal['dark', 'light'] | |
hideDarkModeToggle | bool | |
favicon | str | |
customCss | str | |
baseServerURL | str | |
withDefaultFonts | bool | |
defaultOpenAllTags | bool | |
showOperationId | bool |
On This Page
Attributes