Schemas

sttp.tapir.docs.apispec.schema.Schemas
class Schemas(tschemaToASchema: TSchemaToASchema, toSchemaReference: ToSchemaReference, markOptionsAsNullable: Boolean)

Converts a tapir schema to an OpenAPI/AsyncAPI reference (if the schema is named), or to the appropriate schema.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def apply[T](codec: Codec[T, _, _]): ReferenceOr[Schema]
def apply(schema: Schema[_]): ReferenceOr[Schema]