routier-collection / core/src / compiledSchemaToJsonSchema
Function: compiledSchemaToJsonSchema()
compiledSchemaToJsonSchema<
T>(compiledSchema,target,useOutputType):Record<string,unknown>
Defined in: core/src/schema/utils/standardJsonSchema.ts:456
Converts a CompiledSchema to a JSON Schema object schema.
Type Parameters
T
T extends object
Parameters
compiledSchema
target
useOutputType
boolean = false
Returns
Record<string, unknown>