MCPcopy
hub / github.com/grpc-ecosystem/grpc-gateway / SetAllowMerge

Method SetAllowMerge

internal/descriptor/registry.go:529–531  ·  view source on GitHub ↗

SetAllowMerge controls whether generation one OpenAPI file out of multiple protos

(allow bool)

Source from the content-addressed store, hash-verified

527
528// SetAllowMerge controls whether generation one OpenAPI file out of multiple protos
529func (r *Registry) SetAllowMerge(allow bool) {
530 r.allowMerge = allow
531}
532
533// IsAllowMerge whether generation one OpenAPI file out of multiple protos
534func (r *Registry) IsAllowMerge() bool {

Callers 3

mainFunction · 0.95
requireGenerateFunction · 0.95

Calls

no outgoing calls

Tested by 2

requireGenerateFunction · 0.76