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

Method SetAllowDeleteBody

internal/descriptor/registry.go:524–526  ·  view source on GitHub ↗

SetAllowDeleteBody controls whether http delete methods may have a body or fail loading if encountered.

(allow bool)

Source from the content-addressed store, hash-verified

522// SetAllowDeleteBody controls whether http delete methods may have a
523// body or fail loading if encountered.
524func (r *Registry) SetAllowDeleteBody(allow bool) {
525 r.allowDeleteBody = allow
526}
527
528// SetAllowMerge controls whether generation one OpenAPI file out of multiple protos
529func (r *Registry) SetAllowMerge(allow bool) {

Callers 3

mainFunction · 0.95
applyFlagsFunction · 0.80

Calls

no outgoing calls

Tested by 1