Skip to content

Commit f05330d

Browse files
authored
Fixes selectionPattern documentation
I can confirm that the the extra `\` was actually not valid and was causing my response to default to the last template in the list.
1 parent df81b3d commit f05330d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ custom:
219219
cors: true
220220
response:
221221
- statusCode: 200
222-
selectionPattern: '2\\d{2}'
222+
selectionPattern: '2\d{2}'
223223
responseParameters: {}
224224
responseTemplates:
225225
application/json: |-
@@ -637,7 +637,7 @@ custom:
637637
cors: true
638638
response:
639639
- statusCode: 200
640-
selectionPattern: '2\\d{2}'
640+
selectionPattern: '2\d{2}'
641641
responseParameters: {}
642642
responseTemplates:
643643
application/json: |-
@@ -1009,4 +1009,4 @@ custom:
10091009
"success": false,
10101010
"errorMessage": "Client Error"
10111011
}
1012-
```
1012+
```

0 commit comments

Comments
 (0)