Package dev.relism.flash.ext.openapi
Class Ui.Swagger
Swagger UI, pinned to 5.x.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumHow much of the document is open when the page loads.static enumThe highlighter's palette.Nested classes/interfaces inherited from class dev.relism.flash.ext.openapi.Ui
Ui.Redoc, Ui.Scalar, Ui.Swagger -
Method Summary
Modifier and TypeMethodDescriptiondeepLinking(boolean deepLinking) Whether a tag or an operation gets its own URL.docExpansion(Ui.Swagger.Expand expand) Tags open, everything open, or nothing.filter(boolean filter) The box that filters operations by tag.modelsExpandDepth(int depth) How deep the models open;-1hides them.persistAuthorization(boolean persist) Whether credentials entered in the page survive a reload.sortAlphabetically(boolean sorted) Sorts tags and operations by name rather than by the order the document lists them.syntaxTheme(Ui.Swagger.Syntax theme) tryItOut(boolean tryItOut) Whether "Try it out" is already on.
-
Method Details
-
docExpansion
Tags open, everything open, or nothing. Default:Ui.Swagger.Expand.LIST. -
modelsExpandDepth
How deep the models open;-1hides them. Default: 1. -
deepLinking
Whether a tag or an operation gets its own URL. Default: on, unlike upstream. -
filter
The box that filters operations by tag. -
tryItOut
Whether "Try it out" is already on. -
persistAuthorization
Whether credentials entered in the page survive a reload. -
syntaxTheme
-
sortAlphabetically
Sorts tags and operations by name rather than by the order the document lists them.
-