projects
/
demos
/
example-siren
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
WIP
[demos/example-siren]
/
spring-consumer
/
target
/
pacts
/
SpringConsumer-Siren Order Provider.json
diff --git
a/spring-consumer/target/pacts/SpringConsumer-Siren Order Provider.json
b/spring-consumer/target/pacts/SpringConsumer-Siren Order Provider.json
index
1b63847
..
9356980
100644
(file)
--- a/
spring-consumer/target/pacts/SpringConsumer-Siren Order Provider.json
+++ b/
spring-consumer/target/pacts/SpringConsumer-Siren Order Provider.json
@@
-13,18
+13,11
@@
"body": {
"actions": [
{
"body": {
"actions": [
{
- "foo": "string"
+ "method": "PUT",
+ "name": "update"
}
]
},
}
]
},
- "generators": {
- "body": {
- "$[0].foo": {
- "size": 20,
- "type": "RandomString"
- }
- }
- },
"headers": {
"Content-Type": "application/vnd.siren+json"
},
"headers": {
"Content-Type": "application/vnd.siren+json"
},
@@
-38,14
+31,19
@@
"variants": [
{
"generators": {
"variants": [
{
"generators": {
- "$.foo": {
- "size": 20,
- "type": "RandomString"
- }
+
},
"index": 0,
"rules": {
},
"index": 0,
"rules": {
- "$.foo": {
+ "$.method": {
+ "combine": "AND",
+ "matchers": [
+ {
+ "match": "type"
+ }
+ ]
+ },
+ "$.name": {
"combine": "AND",
"matchers": [
{
"combine": "AND",
"matchers": [
{