MCPcopy Create free account
hub / github.com/apache/openwhisk-cli / hasPathParameters

Function hasPathParameters

commands/api.go:131–134  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

129}
130
131func hasPathParameters(path string) (bool, error) {
132 pathParams, err := getPathParameterNames(path)
133 return len(pathParams) > 0, err
134}
135
136func isBasepathParameterized(basepath string) (error, bool) {
137 hasParams, err := hasPathParameters(basepath)

Callers 2

isBasepathParameterizedFunction · 0.85
parseApiFunction · 0.85

Calls 1

getPathParameterNamesFunction · 0.85

Tested by

no test coverage detected