Skip to content

Commit

Permalink
Fixes selectionPattern documentation
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
avoliva authored Apr 14, 2023
1 parent df81b3d commit f05330d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ custom:
cors: true
response:
- statusCode: 200
selectionPattern: '2\\d{2}'
selectionPattern: '2\d{2}'
responseParameters: {}
responseTemplates:
application/json: |-
Expand Down Expand Up @@ -637,7 +637,7 @@ custom:
cors: true
response:
- statusCode: 200
selectionPattern: '2\\d{2}'
selectionPattern: '2\d{2}'
responseParameters: {}
responseTemplates:
application/json: |-
Expand Down Expand Up @@ -1009,4 +1009,4 @@ custom:
"success": false,
"errorMessage": "Client Error"
}
```
```

0 comments on commit f05330d

Please sign in to comment.