fix endpoint extractor panic
This commit is contained in:
parent
592f1fb218
commit
f34326e4d7
@ -94,6 +94,7 @@ func extractEndpoint(method reflect.Method) *registry.Endpoint {
|
|||||||
Name: method.Name,
|
Name: method.Name,
|
||||||
Request: request,
|
Request: request,
|
||||||
Response: response,
|
Response: response,
|
||||||
|
Metadata: make(map[string]string),
|
||||||
}
|
}
|
||||||
|
|
||||||
if stream {
|
if stream {
|
||||||
|
Loading…
Reference in New Issue
Block a user