Documentation ¶ Index ¶ func Reflect[T any]() (m map[string]any, err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Reflect ¶ func Reflect[T any]() (m map[string]any, err error) Reflect generates a JSON Schema for type T as a map[string]any. T should be a struct with json: and jsonschema: tags. Returns an error if reflection fails or the reflector panics. Types ¶ This section is empty. Source Files ¶ View all Source files schema.go Click to show internal directories. Click to hide internal directories.