@tsed/common
Version:
A TypeScript Framework on top of Express
19 lines • 540 B
JavaScript
;
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