My spec contains a reference to a callback:
paths:
/register:
post:
summary: Subscribe to a webhook
callbacks: # Callback definition
myEvent: # Event name
$ref: '#/components/callbacks/myEvent'
After loading the spec with LoadSwaggerFromURI, the value is nil:
<github.com/getkin/kin-openapi/openapi3.CallbackRef>
Ref:"#/components/callbacks/myEvent"
Value:nil <*github.com/getkin/kin-openapi/openapi3.Callback>
Proposed resolution:
func ResolveRefsIn should resolve callbacks.
My spec contains a reference to a callback:
After loading the spec with LoadSwaggerFromURI, the value is nil:
Proposed resolution:
func ResolveRefsIn should resolve callbacks.