GitHub

ScalarConfig

API reference for ScalarConfig.

Scalar's configuration, by Scalar's own option names. customFetch is a JavaScript function expression, written into the page as code.

Attributes

AttributeTypeDescription
themeScalarThemeId
layoutLiteral['modern', 'classic']
proxyUrlstr
authenticationScalarAuthentication
customFetchstr
showSidebarbool
hideModelsbool
hideTestRequestButtonbool
hideSearchbool
darkModebool
forceDarkModeStateLiteral['dark', 'light']
hideDarkModeTogglebool
faviconstr
customCssstr
baseServerURLstr
withDefaultFontsbool
defaultOpenAllTagsbool
showOperationIdbool