Page Contents

Home > @loopback/repository-json-schema > metaToJsonProperty

metaToJsonProperty() function

Converts property metadata into a JSON property definition

Signature:

export declare function metaToJsonProperty(meta: PropertyDefinition): JsonSchema;

Parameters

Parameter Type Description
meta PropertyDefinition  

Returns:

JsonSchema