Skip to content

Required extension

Petri Savolainen edited this page Mar 1, 2017 · 1 revision

It can be useful to be able to provide a list of variables that the user or higher-level app should provide at minimum for the call to work. Sort of "required" values.

The following syntax is suggested:

operations:
  - test:
      request:
        required: [a,b,c]
        params:
          a: I am a
          b:
        body: [$c, $d]

Clone this wiki locally