Packages

case class RedocUIOptions(pathPrefix: List[String], specName: String, htmlName: String, contextPath: List[String], useRelativePaths: Boolean, redocVersion: String, redocOptions: Option[String], redocThemeOptionsJson: Option[String]) extends Product with Serializable

pathPrefix

The path prefix which will be added to the documentation endpoints, as a list of path segments. Defaults to List("docs"), so the address of the docs will be ./docs (relative to the context in which the interpreted docs endpoints are attached).

specName

The name of the file, through which the yaml documentation will be served. Defaults to docs.yaml.

htmlName

the name of the file, through which the html documentation will be served. Defaults to index.html.

contextPath

The context path in which the interpreted documentation endpoints are going to be attached. Only relevant when {{useRelativePaths == false}}. E.g. when context path is List("api", "v1"), useRelativePaths = false, and other parameters are left with default values, the generated full path to the yaml will be /api/v1/docs/docs.yaml, instead of ./docs/docs.yaml or ./docs.yaml (depending on the referrer's uri). Also used for creating redirects. Defaults to Nil.

useRelativePaths

Should relative paths be used for yaml references and redirects. Defaults to true.

redocVersion

Version of Redoc library

redocOptions

Options to pass to the Redoc library (see https://redocly.com/docs/api-reference-docs/configuration/functionality/)

redocThemeOptionsJson

Theming options to pass to the Redoc library (see https://redocly.com/docs/api-reference-docs/configuration/theming/). Must be a valid JSON if not empty

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RedocUIOptions
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RedocUIOptions(pathPrefix: List[String], specName: String, htmlName: String, contextPath: List[String], useRelativePaths: Boolean, redocVersion: String, redocOptions: Option[String], redocThemeOptionsJson: Option[String])

    pathPrefix

    The path prefix which will be added to the documentation endpoints, as a list of path segments. Defaults to List("docs"), so the address of the docs will be ./docs (relative to the context in which the interpreted docs endpoints are attached).

    specName

    The name of the file, through which the yaml documentation will be served. Defaults to docs.yaml.

    htmlName

    the name of the file, through which the html documentation will be served. Defaults to index.html.

    contextPath

    The context path in which the interpreted documentation endpoints are going to be attached. Only relevant when {{useRelativePaths == false}}. E.g. when context path is List("api", "v1"), useRelativePaths = false, and other parameters are left with default values, the generated full path to the yaml will be /api/v1/docs/docs.yaml, instead of ./docs/docs.yaml or ./docs.yaml (depending on the referrer's uri). Also used for creating redirects. Defaults to Nil.

    useRelativePaths

    Should relative paths be used for yaml references and redirects. Defaults to true.

    redocVersion

    Version of Redoc library

    redocOptions

    Options to pass to the Redoc library (see https://redocly.com/docs/api-reference-docs/configuration/functionality/)

    redocThemeOptionsJson

    Theming options to pass to the Redoc library (see https://redocly.com/docs/api-reference-docs/configuration/theming/). Must be a valid JSON if not empty

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  6. def contextPath(contextPath: List[String]): RedocUIOptions
  7. val contextPath: List[String]
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  10. def htmlName(htmlName: String): RedocUIOptions
  11. val htmlName: String
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def pathPrefix(pathPrefix: List[String]): RedocUIOptions
  17. val pathPrefix: List[String]
  18. def redocOptions(redocOptions: String): RedocUIOptions
  19. val redocOptions: Option[String]
  20. def redocThemeOptionsJson(redocThemeOptionsJson: String): RedocUIOptions
  21. val redocThemeOptionsJson: Option[String]
  22. def redocVersion(redocVersion: String): RedocUIOptions
  23. val redocVersion: String
  24. def specName(specName: String): RedocUIOptions
  25. val specName: String
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. val useRelativePaths: Boolean
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. def withAbsolutePaths: RedocUIOptions
  32. def withRelativePaths: RedocUIOptions

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped