Package dev.relism.flash.ext.openapi
Class Ui.Scalar
Scalar's API reference, pinned to 1.x.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumSidebar and content in two columns, or the one-column classic.static enumWhat decides the order of the operations in a tag.static enumScalar's own palettes.Nested classes/interfaces inherited from class dev.relism.flash.ext.openapi.Ui
Ui.Redoc, Ui.Scalar, Ui.Swagger -
Method Summary
Modifier and TypeMethodDescriptiondarkMode(boolean dark) Dark on load; the reader's toggle still wins unlesshideDarkModeToggle(boolean).defaultOpenAllTags(boolean open) Every tag open on load, rather than only the first.hideClientButton(boolean hide) The button that opens the operation in Scalar's API client.hideDarkModeToggle(boolean hide) hideModels(boolean hide) Whethercomponents.schemasgets a section of its own.hideSearch(boolean hide) hideTestRequestButton(boolean hide) The button that fires the request from the page.layout(Ui.Scalar.Layout layout) showSidebar(boolean show) theme(Ui.Scalar.Theme theme)
-
Method Details
-
theme
-
layout
-
darkMode
Dark on load; the reader's toggle still wins unlesshideDarkModeToggle(boolean). -
hideDarkModeToggle
-
hideModels
Whethercomponents.schemasgets a section of its own. -
hideSearch
-
hideTestRequestButton
The button that fires the request from the page. -
hideClientButton
The button that opens the operation in Scalar's API client. -
showSidebar
-
defaultOpenAllTags
Every tag open on load, rather than only the first. -
sortOperationsBy
-