External module "joi/alternatives"
Functions
generateCombineSchema
-
Parameters
-
-
mode: "all" | "one" | "any"
resolveAnyOf
-
Parameters
-
schemas: JSONSchema4[]
-
parentSchema: JSONSchema4
-
resolveCombiningSchemas
- resolveCombiningSchemas(schemas: JSONSchema4[], parentSchema: JSONSchema4, mode?: "any" | "all" | "one", options: ResolveOptions): JoiAlternatives
-
Parameters
-
schemas: JSONSchema4[]
-
parentSchema: JSONSchema4
-
Default value mode: "any" | "all" | "one" = "any"
-
resolveJoiAlternativesSchema
resolveNot
-
Parameters
-
schema: JSONSchema4
-
parentSchema: JSONSchema4
-