computeAndRegisterSchema
Computes (or gets) the schema associated with the given KType. You can get a KType using the typeOf<>()
function.
The schema will be returned as a '$ref', while the actual components are stored inside the context.