Skip to content

Type Alias: JsonSchemaSource ​

JsonSchemaSource = Schema | { Schema(): Schema; }

What toJsonSchema() converts: a schema, or a DTO class (the schema returned by its static Schema()).

Union Members ​

Schema


Type Literal ​

{ Schema(): Schema; }

Schema() ​

Schema(): Schema

The object schema of the DTO class.

Returns ​

Schema

The schema.

Released under the MIT License.