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

Method TransformSchema

schema.go:738–738  ·  view source on GitHub ↗
(r Registry, s *Schema)

Source from the content-addressed store, hash-verified

736// default schema generation for a type and arbitrarily modify parts of it.
737type SchemaTransformer interface {
738 TransformSchema(r Registry, s *Schema) *Schema
739}
740
741// SchemaFromType returns a schema for a given type, using the registry to

Callers 1

SchemaFromTypeFunction · 0.65

Implementers 3

CustomSchemaPtrschema_test.go
ExampleUpdateStructschema_test.go
TransformDeleteFieldvalidate_test.go

Calls

no outgoing calls

Tested by

no test coverage detected