qcobjects-cli
Advanced tools
Comparing version 0.1.53 to 0.1.54
@@ -69,4 +69,19 @@ /** | ||
var openapipath = { | ||
"get" : { | ||
var openapipath = {}; | ||
if (route.supported_methods){ | ||
route.supported_methods.map(function (supportedmethod){ | ||
openapipath[supportedmethod] = { | ||
"summary" : route.name, | ||
"description" : route.description, | ||
"parameters" : openapiparams, | ||
"responses" : { | ||
"200" : { | ||
"description" : "OK" | ||
} | ||
}, | ||
"security" : [ "read", "write" ] | ||
}; | ||
}); | ||
} else { | ||
openapipath["get"] = { | ||
"summary" : route.name, | ||
@@ -80,5 +95,6 @@ "description" : route.description, | ||
}, | ||
"security" : [ ] | ||
} | ||
}; | ||
"security" : [ "read", "write" ] | ||
}; | ||
} | ||
openapipaths[openapipathname] = openapipath; | ||
@@ -85,0 +101,0 @@ } |
{ | ||
"name": "qcobjects-cli", | ||
"version": "0.1.53", | ||
"version": "0.1.54", | ||
"description": "qcobjects cli command line tool", | ||
@@ -5,0 +5,0 @@ "main": "qcobjects-cli.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
102648
2480