Introduction
Migration
Configuration
Fundamentals
Advanced
Authentication & Security
API & Documentation
ORM
Orchestration & Workflow
Testing
Third-parties
Links
Premium ConfigSource
Premium TestContainers
Appearance
import { set } from "@tsed/schema";
See /packages/specs/schema/src/fn/collection.ts.
function set(): JsonSchema;
Declare a new array model with uniqueItems: true.
uniqueItems: true
{ "type": "array", "uniqueItems": true }
See JsonSchema to discover available methods.