# AdditionalProperties Decorator validation swagger schema
Module | import { AdditionalProperties } from "@tsed/common" |
---|---|
Source | /packages/common/src/jsonschema/decorators/additionalProperties.ts |
# Overview
function AdditionalProperties(value: boolean | JSONSchema6): (...parameters: any[]) => any;
# Description
Accept unknown properties on the deserialized model.
WARNING
For v6 user, use from @tsed/schema instead of @tsed/common.
- 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