Class Ui.Swagger

java.lang.Object
dev.relism.flash.ext.openapi.Ui<Ui.Swagger>
dev.relism.flash.ext.openapi.Ui.Swagger
Enclosing class:
Ui<S extends Ui<S>>

public static final class Ui.Swagger extends Ui<Ui.Swagger>
Swagger UI, pinned to 5.x.
  • Method Details

    • docExpansion

      public Ui.Swagger docExpansion(Ui.Swagger.Expand expand)
      Tags open, everything open, or nothing. Default: Ui.Swagger.Expand.LIST.
    • modelsExpandDepth

      public Ui.Swagger modelsExpandDepth(int depth)
      How deep the models open; -1 hides them. Default: 1.
    • deepLinking

      public Ui.Swagger deepLinking(boolean deepLinking)
      Whether a tag or an operation gets its own URL. Default: on, unlike upstream.
    • filter

      public Ui.Swagger filter(boolean filter)
      The box that filters operations by tag.
    • tryItOut

      public Ui.Swagger tryItOut(boolean tryItOut)
      Whether "Try it out" is already on.
    • persistAuthorization

      public Ui.Swagger persistAuthorization(boolean persist)
      Whether credentials entered in the page survive a reload.
    • syntaxTheme

      public Ui.Swagger syntaxTheme(Ui.Swagger.Syntax theme)
    • sortAlphabetically

      public Ui.Swagger sortAlphabetically(boolean sorted)
      Sorts tags and operations by name rather than by the order the document lists them.