Class Ui.Redoc

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

public static final class Ui.Redoc extends Ui<Ui.Redoc>
Redoc community edition, pinned to 2.x.
  • Method Details

    • hideDownloadButton

      public Ui.Redoc hideDownloadButton(boolean hide)
    • disableSearch

      public Ui.Redoc disableSearch(boolean disable)
    • requiredPropsFirst

      public Ui.Redoc requiredPropsFirst(boolean first)
      Required properties first in every schema, rather than in declaration order.
    • sortPropsAlphabetically

      public Ui.Redoc sortPropsAlphabetically(boolean sorted)
    • jsonSampleExpandLevel

      public Ui.Redoc jsonSampleExpandLevel(int level)
      How deep a JSON sample is expanded; 0 collapses it. Default: 2.
    • hideSchemaTitles

      public Ui.Redoc hideSchemaTitles(boolean hide)
    • pathInMiddlePanel

      public Ui.Redoc pathInMiddlePanel(boolean middle)
      The path in the middle panel rather than beside the description.
    • hideHostname

      public Ui.Redoc hideHostname(boolean hide)
      Hides the host the servers declare, leaving the paths.
    • nativeScrollbars

      public Ui.Redoc nativeScrollbars(boolean enabled)
      The browser's own scrollbars in the sidebar.