This is an automated email from the ASF dual-hosted git repository.
mrutkowski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk-wskdeploy.git
The following commit(s) were added to refs/heads/master by this push:
new 26308ca doc: spec_apis.md basePath, relativePath (#1096)
26308ca is described below
commit 26308cad60c96335c57dd02b27ffc49692e9edeb
Author: Steven R. Loomis <[email protected]>
AuthorDate: Tue May 26 06:01:53 2020 -0700
doc: spec_apis.md basePath, relativePath (#1096)
Update spec to say that basePath and relativePath must NOT start with `/`
Fixes: https://github.com/apache/openwhisk-wskdeploy/issues/1095
---
specification/html/spec_apis.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/specification/html/spec_apis.md b/specification/html/spec_apis.md
index b26d02c..df59fa7 100644
--- a/specification/html/spec_apis.md
+++ b/specification/html/spec_apis.md
@@ -99,8 +99,8 @@ packages:
### Requirements
- The API name MUST be less than or equal to 256 characters.
-- The API `basePath` value MUST start with a `/` character.
-- The APi `relativePath` value MUST start with a `/` character.
+- The API `basePath` value MUST NOT start with a `/` character.
+- The API `relativePath` value MUST NOT start with a `/` character.
- The API entity schema includes all required fields declared above.
- Only web actions, actions having `web-export` set to `true`, can be used as
an API endpoint's action.
- If needed, the action will be automatically converted to a web action
during deployment.