SwaggerUI

sttp.tapir.swagger.SwaggerUI
object SwaggerUI

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
SwaggerUI.type

Members list

Value members

Concrete methods

def apply[F[_]](yaml: String, options: SwaggerUIOptions): List[ServerEndpoint[Any, F]]

Usage: pass SwaggerUI[F](yaml) endpoints to your server interpreter. Docs will be available using the /docs path.

Usage: pass SwaggerUI[F](yaml) endpoints to your server interpreter. Docs will be available using the /docs path.

Value parameters

options

Options to customise how the documentation is exposed through SwaggerUI, e.g. the path.

yaml

The yaml with the OpenAPI documentation.

Attributes