libdeadmock 0.1.6

API Mocking and Virtualization
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
name = "Pattern Match - Header"
priority = 1

[request.header_pattern.key]
left = "x-pattern-match"

[request.header_pattern.value]
right = "^yoda.*"

[response]
body_file_name = "pattern-match-header-response.json"

[[response.headers]]
key = "Content-Type"
value = "application/json"