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

Method getDocumentText

parser/openapi_parser.go:63–69  ·  view source on GitHub ↗
(name string, document openapi3.T)

Source from the content-addressed store, hash-verified

61}
62
63func (p OpenApiParser) getDocumentText(name string, document openapi3.T) (string, string) {
64 result := LookupDescription(name)
65 if result != nil {
66 return result.Summary, result.Description
67 }
68 return p.getDocumentSummary(document), p.getDocumentDescription(document)
69}
70
71func (p OpenApiParser) getCategoryText(definitionName string, name string, tag *openapi3.Tag) (string, string) {
72 result := LookupDescription(definitionName + " " + name)

Callers 1

parseMethod · 0.95

Calls 3

getDocumentSummaryMethod · 0.95
LookupDescriptionFunction · 0.85

Tested by

no test coverage detected