MCPcopy Create free account
hub / github.com/UiPath/uipathcli / getCustomName

Method getCustomName

parser/openapi_parser.go:30–38  ·  view source on GitHub ↗
(extensions map[string]interface{})

Source from the content-addressed store, hash-verified

28}
29
30func (p OpenApiParser) getCustomName(extensions map[string]interface{}) string {
31 name := extensions[CustomNameExtension]
32 switch v := name.(type) {
33 case string:
34 return v
35 default:
36 return ""
37 }
38}
39
40func (p OpenApiParser) contains(strs []string, str string) bool {
41 for _, s := range strs {

Callers 3

getOperationNameMethod · 0.95
parseSchemaMethod · 0.95
parseParameterMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected