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

Method Bytes

validate.go:149–151  ·  view source on GitHub ↗

Bytes returns the underlying slice of bytes of the path.

()

Source from the content-addressed store, hash-verified

147
148// Bytes returns the underlying slice of bytes of the path.
149func (b *PathBuffer) Bytes() []byte {
150 return b.buf[:b.off]
151}
152
153// String converts the path buffer to a string.
154func (b *PathBuffer) String() string {

Callers 13

YAMLMethod · 0.80
DowngradeYAMLMethod · 0.80
TestFeaturesFunction · 0.80
ExampleResolverFunction · 0.80
RegisterFunction · 0.80
DumpRequestFunction · 0.80
DumpResponseFunction · 0.80
TestPathParamDecodingFunction · 0.80
TestRoundTripFunction · 0.80
flushMethod · 0.80
convertMethod · 0.80
writeIndentMethod · 0.80

Calls

no outgoing calls

Tested by 4

TestFeaturesFunction · 0.64
ExampleResolverFunction · 0.64
TestPathParamDecodingFunction · 0.64
TestRoundTripFunction · 0.64