SchemasForEndpoints

sttp.tapir.docs.apispec.schema.SchemasForEndpoints
class SchemasForEndpoints(es: Iterable[AnyEndpoint], schemaName: SName => String, markOptionsAsNullable: Boolean, additionalOutputs: List[EndpointOutput[_]])

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def apply(): (ListMap[SchemaId, Schema], Schemas)

Attributes

Returns

A tuple: the first element can be used to create the components section in the docs. The second can be used to resolve (possible) top-level references from parameters / bodies.