Tables
type: Stub
rules:
- request:
path: /users/{userId}
method: GET
response:
headers:
content-type: application/json
body:
id: ${path.userId}
name: ${table.userName}
age: ${table.age}
tables:
- name: userName
key: path.userId
values:
1: Foo
2: Bar
3: Baz
- name: age
key: path.userId
values:
1: 35
2: 100
3: 3Last updated