MediaTypeDsl
DSL for media type objects(https://spec.openapis.org/oas/v3.1.0#media-type-object
This DSL has extensions that allow to easily define schemas from
KType
objects (including types of arbitraryclasses).
Functions
Properties
Inheritors
Extensions
Link copied to clipboard
Set the schema to be of type T
.
Set the schema to be of type T
, with the given object set as the example.
Set the schema to be of type ktype, with the given object set as the example.