| 77 | var _ huma.SchemaTransformer = (*CustomSchemaPtr)(nil) |
| 78 | |
| 79 | type CustomSchemaPtr struct { |
| 80 | Value string `json:"value"` |
| 81 | } |
| 82 | |
| 83 | func (c *CustomSchemaPtr) TransformSchema(r huma.Registry, s *huma.Schema) *huma.Schema { |
| 84 | s.Description = "custom description" |
nothing calls this directly
no outgoing calls
no test coverage detected