Commit 59e8569d authored by Jarrod's avatar Jarrod 💬

Update get-doc.js

parent c808ebe6
......@@ -61,6 +61,10 @@ module.exports = function () {
endpointsByMethodName[methodName].description = def.description
endpointsByMethodName[methodName].cache = target.cache
endpointsByMethodName[methodName].protocol = target.isSocket ? 'socket' : 'http'
if (def.package) {
endpointsByMethodName[methodName].package = def.package
}
if (def.args !== undefined) {
endpointsByMethodName[methodName].args = def.args
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment