apache / apache/openwhisk-wskdeploy

api basePath error when it have multiple segments

Open
#955 0 comments 1 reaction 0 assignees View on GitHub
documentation priority: low
Dominant language
Go
Stars
75
Forks
73
PR merge metrics
No merged PRs in 30d

Description

I tried to create an api declaring an apigateway syntax
```yaml
apis:
FunctionswithDataStarterKit:
FunctionswithDataStarterKit/api:
create:
create:
method: "POST"
```
Trying to deploy gives an error about base Path
```
Error: manifestreader.go [113]: [ERROR_YAML_FILE_FORMAT_ERROR]: File: [manifest.yml]:
==> manifest_parser.go [1165]: [ERROR_YAML_PARSER_ERROR]: File: [manifest.yml]: API Gateway base path [FunctionswithDataStarterKit/api] is invalid. It has path parameters which is not supported, only relative path supports path parameters.
==>
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.