@tsed/common
Version:
A TypeScript Framework on top of Express
14 lines (13 loc) • 380 B
TypeScript
import { Type } from "@tsed/core";
import { JSONSchema6 } from "json-schema";
/**
* Get json schema of the given model.
*
* ::: warning
* Will be remove in v7 in favor of getJsonSchema from @tsed/schema.
* :::
*
* @param target
* @deprecated Since 2020-12-01. Use getJsonSchema from @tsed/schema.
*/
export declare function getJsonSchema(target: Type<any>): JSONSchema6;