UNPKG

@tsed/common

Version:
19 lines 540 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getJsonSchema = void 0; const schema_1 = require("@tsed/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. */ function getJsonSchema(target) { return schema_1.getJsonSchema(target); } exports.getJsonSchema = getJsonSchema; //# sourceMappingURL=getJsonSchema.js.map