Contents

init(name:description:anyOf:)

Creates an any-of schema.

Declaration

init(name: String, description: String? = nil, anyOf choices: [DynamicGenerationSchema])

Parameters

  • name:

    A name this schema can be referenecd by.

  • description:

    A natural language description of this Dynamicgenerationschema.

  • choices:

    An array of schemas this one will be a union of.

See Also

Creating a dynamic schema