# getJsonSchema Function
Module | import { getJsonSchema } from "@tsed/common" |
---|---|
Source | /packages/common/src/jsonschema/utils/getJsonSchema.ts |
# Overview
function getJsonSchema(target: Type<any>): JSONSchema6;
# Description
Get json schema of the given model.
WARNING
Will be remove in v7 in favor of getJsonSchema from @tsed/schema.
- Session & cookies
- Passport.js
- TypeORM
- Mongoose
- GraphQL
- Socket.io
- Swagger
- AJV
- Multer
- Serve static files
- Templating
- Throw HTTP Exceptions
- Customize 404
- AWS
- Jest
- Seq
- Controllers
- Providers
- Model
- Converters
- Middlewares
- Pipes
- Interceptors
- Authentication
- Hooks
- Injection scopes
- Custom providers
- Custom endpoint decorator
- Testing