Attributes
- Companion:
- trait
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- RedocInterpreter.type
Members list
Value members
Concrete methods
Allows interpreting lists of sttp.tapir.Endpoints or ServerEndpoints as Redoc docs. The docs will be serialised in the yaml
format, and will be available using the configured prefix
path, by default /docs
.
Allows interpreting lists of sttp.tapir.Endpoints or ServerEndpoints as Redoc docs. The docs will be serialised in the yaml
format, and will be available using the configured prefix
path, by default /docs
.
Usage: pass the result of RedocInterpreter().fromEndpoints[F]
to your server interpreter.
Attributes
- addServerWhenContextPathPresent
Should a default server entry be added to the generated OpenAPI model pointing to the context path, if a non-empty context path is specified in
swaggerUIOptions
. In presence of a context path, either the endpoints need to be prefixed with the context path, or a server entry must be added, for invocations from within the Swagger UI to work properly. Defaults totrue
.- customiseDocsModel
A function which can customise the OpenAPI model created by the OpenAPIDocsInterpreter for the given endpoints, allowing adding e.g. server information.
- openAPIInterpreterOptions
The options that will be passed to the OpenAPIDocsInterpreter.
- redocUIOptions
Options passed to Redoc to customise how the documentation is exposed, e.g. the path.