apache / apache/openwhisk

Inconsistent return value for PUT on action between Swagger and implementation

Open
#265 1 comment 0 reactions 0 assignees View on GitHub
API swagger
Dominant language
Scala
Stars
6.8k
Forks
1.2k
Avg merge
2d 14h
Merged PRs (30d)
2

Description

According to the Swagger file, when PUT is called on an action it returns an ItemId.

see: https://github.com/openwhisk/openwhisk/blob/master/core/controller/src/resources/whiskswagger.json#L285

In practice if the action already exist it seems to fail (i.e. not update possible) and if the action does not already exist it creates it (expected) but does not return an itemId but the full action.

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.