Skip to content

Add a parameter classifier to the Function definition scheme #127

@ricardozanini

Description

@ricardozanini

What would you like to be added:
A way to classify the parameter in the function definition (optional) so implementations could have a hint of how to handle the parameter when executing a given function.

For example a given operation state:

 "functions": [
        {
            "name": "userAuthServiceCall",
            "resource": "http://authservice.com",
            "type": "rest",
            "parameters": [
                {"name": "user", "classifier": "querystring"},
                {"name": "token", "classifier": "header"}
            ],
            "metadata": {
                "method": "GET"
            }
        }
]
(...)

Why is this needed:
With the classifier, implementations would know how to handle these parameters on a REST call scenario for instance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: specChanges in the Specification

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions