org.sigilaris.node.jvm.transport.armeria.TapirOpenApiExporter
Generates and writes OpenAPI specification documents from Tapir endpoint definitions.
Attributes
-
Source
-
TapirOpenApiExporter.scala
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
-
Self type
-
Members list
Generates an OpenAPI document from the given Tapir endpoints.
Generates an OpenAPI document from the given Tapir endpoints.
Value parameters
-
endpoints
-
Tapir endpoints to document
-
enrich
-
optional transformation applied to the generated OpenAPI model
-
title
-
API title
-
version
-
API version string
Attributes
-
Returns
-
the generated OpenAPI specification
-
Source
-
TapirOpenApiExporter.scala
Generates an OpenAPI document and writes it to disk.
Generates an OpenAPI document and writes it to disk.
Type parameters
-
F
-
the effect type
Value parameters
-
config
-
export configuration (output path, format, title, version)
-
endpoints
-
Tapir endpoints to document
-
enrich
-
optional transformation applied to the generated OpenAPI model
Attributes
-
Returns
-
the absolute path of the written file
-
Source
-
TapirOpenApiExporter.scala