MCPcopy Index your code
hub / github.com/massCodeIO/massCode / getRequestName

Function getRequestName

src/main/http/import/openapi.ts:140–149  ·  view source on GitHub ↗
(
  operation: UnknownRecord,
  method: string,
  path: string,
)

Source from the content-addressed store, hash-verified

138}
139
140function getRequestName(
141 operation: UnknownRecord,
142 method: string,
143 path: string,
144): string {
145 return normalizeImportName(
146 operation.summary || operation.operationId,
147 `${method.toUpperCase()} ${path}`,
148 )
149}
150
151function getServers(
152 raw: UnknownRecord,

Callers 1

parseOperationFunction · 0.85

Calls 1

normalizeImportNameFunction · 0.90

Tested by

no test coverage detected