TypeRef

data class TypeRef(val type: Type, val typeArguments: List<HttpSchema.TypeRef> = emptyList()) : HttpSchema

The schema generated for type, parameterized by typeArguments, themselves type references, so nested generics such as PagedList<MaterializedSnapshot<S>> need no type resolution while the contract is built.

Constructors

Link copied to clipboard
constructor(type: Type, typeArguments: List<HttpSchema.TypeRef> = emptyList())

Properties

Link copied to clipboard
val type: Type
Link copied to clipboard