Comparing version 3.3.4 to 3.3.5
@@ -41,9 +41,8 @@ 'use strict' | ||
route_swagger_definition (params) { | ||
const ns = this.namespace(params) | ||
const apidoc = { | ||
namespace: ns, | ||
namespace: '_', | ||
gatewayBasePath: this.route_base_path(params), | ||
gatewayPath: params.relpath, | ||
gatewayMethod: params.operation, | ||
id: `API:${ns}:${this.route_base_path(params)}`, | ||
id: `API:_:${this.route_base_path(params)}`, | ||
action: this.route_swagger_action(params) | ||
@@ -57,3 +56,3 @@ } | ||
const id = names.parse_id(params.action) | ||
let namespace = this.namespace(params) | ||
let namespace = decodeURIComponent(this.namespace(params)) | ||
if (params.action.startsWith('/')) { | ||
@@ -60,0 +59,0 @@ namespace = names.parse_namespace(params.action) |
{ | ||
"name": "openwhisk", | ||
"version": "3.3.4", | ||
"version": "3.3.5", | ||
"description": "JavaScript client library for the OpenWhisk platform", | ||
@@ -5,0 +5,0 @@ "main": "lib/main.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
127442
2773