MCPcopy
hub / github.com/danielgtaylor/huma / SchemaFromRef

Method SchemaFromRef

registry.go:18–18  ·  view source on GitHub ↗
(ref string)

Source from the content-addressed store, hash-verified

16type Registry interface {
17 Schema(t reflect.Type, allowRef bool, hint string) *Schema
18 SchemaFromRef(ref string) *Schema
19 TypeFromRef(ref string) reflect.Type
20 Map() map[string]*Schema
21 RegisterTypeAlias(t reflect.Type, alias reflect.Type)

Callers 11

ensureTypeFunction · 0.65
jsonTagValueFunction · 0.65
SchemaFromFieldFunction · 0.65
TestSchemaTransformerFunction · 0.65
validateDiscriminatorFunction · 0.65
ValidateFunction · 0.65
handleMapStringFunction · 0.65
handleMapAnyFunction · 0.65
addSchemaFieldMethod · 0.65
AutoPatchFunction · 0.65
PatchResourceFunction · 0.65

Implementers 1

mapRegistryregistry.go

Calls

no outgoing calls

Tested by 1

TestSchemaTransformerFunction · 0.52