anyOf
@tsed/schema
Usage
typescript
import { anyOf } from "@tsed/schema";
Overview
ts
function anyOf<S extends Array<AnyJsonSchema | null>>(...anyOf: S): JsonSchema<Infer<S[number]>>;
Description
See https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.27
See JsonSchema to discover available methods.