@hyperone/cli-core
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -53,15 +53,2 @@ import fetch from 'node-fetch'; | ||
spec, // TODO: Remove me | ||
getOperations: (tag) => { // TODO: Remove me (unused?) | ||
const operations = []; | ||
for (const pathItem of Object.values(spec.paths)) { | ||
for (const operation of Object.values(pathItem)) { | ||
const name = operation.summary.toLowerCase(); | ||
if (operation.tags.includes(tag)) { | ||
operations[name] = operations[name] || []; | ||
operations[name].push(operation); | ||
} | ||
} | ||
} | ||
return operations; | ||
}, | ||
getChild: (prefix) => Object | ||
@@ -68,0 +55,0 @@ .entries(spec.paths) |
{ | ||
"name": "@hyperone/cli-core", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "", | ||
@@ -8,3 +8,3 @@ "main": "index.js", | ||
"@apidevtools/json-schema-ref-parser": "^9.0.3", | ||
"@hyperone/cli-framework": "^1.0.3", | ||
"@hyperone/cli-framework": "^1.0.4", | ||
"camel-case": "^4.1.1", | ||
@@ -30,3 +30,3 @@ "command-line-args": "^5.1.1", | ||
"license": "MIT", | ||
"gitHead": "a29a3896594a8d151caddae859dbbd9a50969fe6" | ||
"gitHead": "2ddb527c1c7eebb5b6ab9276b4b3bf9cecece32e" | ||
} |
24468
614