Schemas
TYPE
@skmtc/core 0.63.4SchemaType
Union of all possible schema types that can be transformed.
Signature
import type { SchemaType } from '@skmtc/core'
type SchemaType = OasSchema | OasRef<'schema'> | OasVoid | CustomValueExamples
Example
function transformSchema(schema: SchemaType): TypeSystemValue {
// Transform any schema type to its type system representation
return toTypeSystemValue(schema);
}