Skip to content

routier-collection


routier-collection / core/src / propertyInfoToJsonSchema

Function: propertyInfoToJsonSchema()

propertyInfoToJsonSchema(property, target, visited, useOutputType): Record<string, unknown>

Defined in: core/src/schema/utils/standardJsonSchema.ts:424

Converts a Routier PropertyInfo to a JSON Schema property definition.

Parameters

property

PropertyInfo<any>

target

Target

visited

Set<string> = ...

useOutputType

boolean = false

Returns

Record<string, unknown>

Released under the MIT License.