Sisk

Method

JsonContentTypeHandler.GetJsonSchemaForType

Namespace
Sisk.Documenting.Content
Assembly
Sisk.Documenting.dll

GetJsonSchemaForType(Type) #

Generates a JSON schema that describes the specified type.

C#
public virtual JsonSchema GetJsonSchemaForType(Type type)

Parameters #

type Type

The Type for which to generate the schema.

Returns #

JsonSchema

A JsonSchema that represents the structure of type.

Exceptions #

ArgumentNullException

type is null.

Type to search the documentation and the API reference.