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

Function mustDecodeRequest

http/codegen/server.go:216–218  ·  view source on GitHub ↗

mustDecodeRequest returns true if the Payload type is not empty.

(e *EndpointData)

Source from the content-addressed store, hash-verified

214
215// mustDecodeRequest returns true if the Payload type is not empty.
216func mustDecodeRequest(e *EndpointData) bool {
217 return e.Payload.Ref != ""
218}
219
220// conversionData creates a template context suitable for executing the
221// "type_conversion" template.

Callers 1

ServerEncodeDecodeFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected