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