语言

JsonSchemaExporterContext 结构

定义

定义生成类型图中的 JSON 架构的上下文。

public value class JsonSchemaExporterContext
public readonly struct JsonSchemaExporterContext
type JsonSchemaExporterContext = struct
Public Structure JsonSchemaExporterContext
继承
JsonSchemaExporterContext

属性

名称 说明
BaseTypeInfo

获取多态基类型的类型信息(如果生成为派生类型)。

Path

获取当前生成的架构文档的路径。

PropertyInfo

获取 JsonPropertyInfo 是否正在为属性生成架构。

TypeInfo

获取 JsonTypeInfo 正在处理的类型。

适用于