MCPcopy Create free account
hub / github.com/goadesign/goa / UnmarshalJSON

Method UnmarshalJSON

http/codegen/openapi/v3/ref.go:91–91  ·  view source on GitHub ↗
(d []byte)

Source from the content-addressed store, hash-verified

89func (r *CallbackRef) UnmarshalJSON(d []byte) error { return unmarshalJSONRef(d, &r.Ref, &r.Value) }
90func (r *ExampleRef) UnmarshalJSON(d []byte) error { return unmarshalJSONRef(d, &r.Ref, &r.Value) }
91func (r *LinkRef) UnmarshalJSON(d []byte) error { return unmarshalJSONRef(d, &r.Ref, &r.Value) }
92func (r *RequestBodyRef) UnmarshalJSON(d []byte) error { return unmarshalJSONRef(d, &r.Ref, &r.Value) }
93func (r *SecuritySchemeRef) UnmarshalJSON(d []byte) error {
94 return unmarshalJSONRef(d, &r.Ref, &r.Value)

Callers 2

TestCookieAPIKeySecurityFunction · 0.45
validateSwaggerFunction · 0.45

Calls 1

unmarshalJSONRefFunction · 0.85

Tested by 2

TestCookieAPIKeySecurityFunction · 0.36
validateSwaggerFunction · 0.36