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

Function getInfo

src/main/http/import/openapi.ts:127–129  ·  view source on GitHub ↗
(raw: UnknownRecord)

Source from the content-addressed store, hash-verified

125}
126
127function getInfo(raw: UnknownRecord): UnknownRecord {
128 return isRecord(raw.info) ? raw.info : {}
129}
130
131function getCollectionName(file: HttpImportFile, raw: UnknownRecord): string {
132 const info = getInfo(raw)

Callers 2

getCollectionNameFunction · 0.70
parseOpenApiFileFunction · 0.70

Calls 1

isRecordFunction · 0.70

Tested by

no test coverage detected