MCPcopy Create free account
hub / github.com/pace/bricks / generateParamName

Function generateParamName

http/jsonapi/generator/generate_handler.go:868–870  ·  view source on GitHub ↗
(param *openapi3.ParameterRef)

Source from the content-addressed store, hash-verified

866}
867
868func generateParamName(param *openapi3.ParameterRef) string {
869 return "Param" + generateMethodName(param.Value.Name)
870}
871
872func generateSubServiceName(handler string) string {
873 return fmt.Sprintf("%s%s", handler, serviceInterface)

Callers 2

generateRequestStructMethod · 0.85
buildHandlerMethod · 0.85

Calls 1

generateMethodNameFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…