diff --git a/reference/html/yml-schema.html b/reference/html/yml-schema.html index a756114d20..95acaf4852 100644 --- a/reference/html/yml-schema.html +++ b/reference/html/yml-schema.html @@ -110,7 +110,453 @@ $(addBlockSwitches);
-
Unresolved directive in yml-schema.adoc - include::/opt/jenkins/data/workspace/spring-cloud-contract-master-ci/docs/target/contract_schema.json[indent=0]
+
{
+  "type" : "object",
+  "id" : "urn:jsonschema:org:springframework:cloud:contract:verifier:converter:YamlContract",
+  "properties" : {
+    "request" : {
+      "type" : "object",
+      "id" : "urn:jsonschema:org:springframework:cloud:contract:verifier:converter:YamlContract:Request",
+      "properties" : {
+        "method" : {
+          "type" : "string"
+        },
+        "url" : {
+          "type" : "string"
+        },
+        "urlPath" : {
+          "type" : "string"
+        },
+        "queryParameters" : {
+          "type" : "object",
+          "additionalProperties" : {
+            "type" : "any"
+          }
+        },
+        "headers" : {
+          "type" : "object",
+          "additionalProperties" : {
+            "type" : "any"
+          }
+        },
+        "cookies" : {
+          "type" : "object",
+          "additionalProperties" : {
+            "type" : "any"
+          }
+        },
+        "body" : {
+          "type" : "any"
+        },
+        "bodyFromFile" : {
+          "type" : "string"
+        },
+        "bodyFromFileAsBytes" : {
+          "type" : "string"
+        },
+        "matchers" : {
+          "type" : "object",
+          "id" : "urn:jsonschema:org:springframework:cloud:contract:verifier:converter:YamlContract:StubMatchers",
+          "properties" : {
+            "url" : {
+              "type" : "object",
+              "id" : "urn:jsonschema:org:springframework:cloud:contract:verifier:converter:YamlContract:KeyValueMatcher",
+              "properties" : {
+                "key" : {
+                  "type" : "string"
+                },
+                "regex" : {
+                  "type" : "string"
+                },
+                "predefined" : {
+                  "type" : "string",
+                  "enum" : [ "only_alpha_unicode", "number", "any_double", "any_boolean", "ip_address", "hostname", "email", "url", "uuid", "iso_date", "iso_date_time", "iso_time", "iso_8601_with_offset", "non_empty", "non_blank" ]
+                },
+                "command" : {
+                  "type" : "string"
+                },
+                "regexType" : {
+                  "type" : "string",
+                  "enum" : [ "as_integer", "as_double", "as_float", "as_long", "as_short", "as_boolean", "as_string" ]
+                }
+              }
+            },
+            "body" : {
+              "type" : "array",
+              "items" : {
+                "type" : "object",
+                "id" : "urn:jsonschema:org:springframework:cloud:contract:verifier:converter:YamlContract:BodyStubMatcher",
+                "properties" : {
+                  "path" : {
+                    "type" : "string"
+                  },
+                  "type" : {
+                    "type" : "string",
+                    "enum" : [ "by_date", "by_time", "by_timestamp", "by_regex", "by_equality", "by_type", "by_null" ]
+                  },
+                  "value" : {
+                    "type" : "string"
+                  },
+                  "predefined" : {
+                    "type" : "string",
+                    "enum" : [ "only_alpha_unicode", "number", "any_double", "any_boolean", "ip_address", "hostname", "email", "url", "uuid", "iso_date", "iso_date_time", "iso_time", "iso_8601_with_offset", "non_empty", "non_blank" ]
+                  },
+                  "minOccurrence" : {
+                    "type" : "integer"
+                  },
+                  "maxOccurrence" : {
+                    "type" : "integer"
+                  },
+                  "regexType" : {
+                    "type" : "string",
+                    "enum" : [ "as_integer", "as_double", "as_float", "as_long", "as_short", "as_boolean", "as_string" ]
+                  }
+                }
+              }
+            },
+            "headers" : {
+              "type" : "array",
+              "items" : {
+                "type" : "object",
+                "$ref" : "urn:jsonschema:org:springframework:cloud:contract:verifier:converter:YamlContract:KeyValueMatcher"
+              }
+            },
+            "queryParameters" : {
+              "type" : "array",
+              "items" : {
+                "type" : "object",
+                "id" : "urn:jsonschema:org:springframework:cloud:contract:verifier:converter:YamlContract:QueryParameterMatcher",
+                "properties" : {
+                  "key" : {
+                    "type" : "string"
+                  },
+                  "type" : {
+                    "type" : "string",
+                    "enum" : [ "equal_to", "containing", "matching", "not_matching", "equal_to_json", "equal_to_xml", "absent", "binary_equal_to" ]
+                  },
+                  "value" : {
+                    "type" : "any"
+                  }
+                }
+              }
+            },
+            "cookies" : {
+              "type" : "array",
+              "items" : {
+                "type" : "object",
+                "$ref" : "urn:jsonschema:org:springframework:cloud:contract:verifier:converter:YamlContract:KeyValueMatcher"
+              }
+            },
+            "multipart" : {
+              "type" : "object",
+              "id" : "urn:jsonschema:org:springframework:cloud:contract:verifier:converter:YamlContract:MultipartStubMatcher",
+              "properties" : {
+                "params" : {
+                  "type" : "array",
+                  "items" : {
+                    "type" : "object",
+                    "$ref" : "urn:jsonschema:org:springframework:cloud:contract:verifier:converter:YamlContract:KeyValueMatcher"
+                  }
+                },
+                "named" : {
+                  "type" : "array",
+                  "items" : {
+                    "type" : "object",
+                    "id" : "urn:jsonschema:org:springframework:cloud:contract:verifier:converter:YamlContract:MultipartNamedStubMatcher",
+                    "properties" : {
+                      "paramName" : {
+                        "type" : "string"
+                      },
+                      "fileName" : {
+                        "type" : "object",
+                        "id" : "urn:jsonschema:org:springframework:cloud:contract:verifier:converter:YamlContract:ValueMatcher",
+                        "properties" : {
+                          "regex" : {
+                            "type" : "string"
+                          },
+                          "predefined" : {
+                            "type" : "string",
+                            "enum" : [ "only_alpha_unicode", "number", "any_double", "any_boolean", "ip_address", "hostname", "email", "url", "uuid", "iso_date", "iso_date_time", "iso_time", "iso_8601_with_offset", "non_empty", "non_blank" ]
+                          }
+                        }
+                      },
+                      "fileContent" : {
+                        "type" : "object",
+                        "$ref" : "urn:jsonschema:org:springframework:cloud:contract:verifier:converter:YamlContract:ValueMatcher"
+                      },
+                      "contentType" : {
+                        "type" : "object",
+                        "$ref" : "urn:jsonschema:org:springframework:cloud:contract:verifier:converter:YamlContract:ValueMatcher"
+                      }
+                    }
+                  }
+                }
+              }
+            }
+          }
+        },
+        "multipart" : {
+          "type" : "object",
+          "id" : "urn:jsonschema:org:springframework:cloud:contract:verifier:converter:YamlContract:Multipart",
+          "properties" : {
+            "params" : {
+              "type" : "object",
+              "additionalProperties" : {
+                "type" : "string"
+              }
+            },
+            "named" : {
+              "type" : "array",
+              "items" : {
+                "type" : "object",
+                "id" : "urn:jsonschema:org:springframework:cloud:contract:verifier:converter:YamlContract:Named",
+                "properties" : {
+                  "paramName" : {
+                    "type" : "string"
+                  },
+                  "fileName" : {
+                    "type" : "string"
+                  },
+                  "fileContent" : {
+                    "type" : "string"
+                  },
+                  "fileContentAsBytes" : {
+                    "type" : "string"
+                  },
+                  "fileContentFromFileAsBytes" : {
+                    "type" : "string"
+                  },
+                  "contentType" : {
+                    "type" : "string"
+                  },
+                  "fileNameCommand" : {
+                    "type" : "string"
+                  },
+                  "fileContentCommand" : {
+                    "type" : "string"
+                  },
+                  "contentTypeCommand" : {
+                    "type" : "string"
+                  }
+                }
+              }
+            }
+          }
+        }
+      }
+    },
+    "response" : {
+      "type" : "object",
+      "id" : "urn:jsonschema:org:springframework:cloud:contract:verifier:converter:YamlContract:Response",
+      "properties" : {
+        "status" : {
+          "type" : "integer"
+        },
+        "headers" : {
+          "type" : "object",
+          "additionalProperties" : {
+            "type" : "any"
+          }
+        },
+        "cookies" : {
+          "type" : "object",
+          "additionalProperties" : {
+            "type" : "any"
+          }
+        },
+        "body" : {
+          "type" : "any"
+        },
+        "bodyFromFile" : {
+          "type" : "string"
+        },
+        "bodyFromFileAsBytes" : {
+          "type" : "string"
+        },
+        "matchers" : {
+          "type" : "object",
+          "id" : "urn:jsonschema:org:springframework:cloud:contract:verifier:converter:YamlContract:TestMatchers",
+          "properties" : {
+            "body" : {
+              "type" : "array",
+              "items" : {
+                "type" : "object",
+                "id" : "urn:jsonschema:org:springframework:cloud:contract:verifier:converter:YamlContract:BodyTestMatcher",
+                "properties" : {
+                  "path" : {
+                    "type" : "string"
+                  },
+                  "type" : {
+                    "type" : "string",
+                    "enum" : [ "by_date", "by_time", "by_timestamp", "by_regex", "by_equality", "by_type", "by_command", "by_null" ]
+                  },
+                  "value" : {
+                    "type" : "string"
+                  },
+                  "minOccurrence" : {
+                    "type" : "integer"
+                  },
+                  "maxOccurrence" : {
+                    "type" : "integer"
+                  },
+                  "predefined" : {
+                    "type" : "string",
+                    "enum" : [ "only_alpha_unicode", "number", "any_double", "any_boolean", "ip_address", "hostname", "email", "url", "uuid", "iso_date", "iso_date_time", "iso_time", "iso_8601_with_offset", "non_empty", "non_blank" ]
+                  },
+                  "regexType" : {
+                    "type" : "string",
+                    "enum" : [ "as_integer", "as_double", "as_float", "as_long", "as_short", "as_boolean", "as_string" ]
+                  }
+                }
+              }
+            },
+            "headers" : {
+              "type" : "array",
+              "items" : {
+                "type" : "object",
+                "id" : "urn:jsonschema:org:springframework:cloud:contract:verifier:converter:YamlContract:TestHeaderMatcher",
+                "properties" : {
+                  "key" : {
+                    "type" : "string"
+                  },
+                  "regex" : {
+                    "type" : "string"
+                  },
+                  "command" : {
+                    "type" : "string"
+                  },
+                  "predefined" : {
+                    "type" : "string",
+                    "enum" : [ "only_alpha_unicode", "number", "any_double", "any_boolean", "ip_address", "hostname", "email", "url", "uuid", "iso_date", "iso_date_time", "iso_time", "iso_8601_with_offset", "non_empty", "non_blank" ]
+                  },
+                  "regexType" : {
+                    "type" : "string",
+                    "enum" : [ "as_integer", "as_double", "as_float", "as_long", "as_short", "as_boolean", "as_string" ]
+                  }
+                }
+              }
+            },
+            "cookies" : {
+              "type" : "array",
+              "items" : {
+                "type" : "object",
+                "id" : "urn:jsonschema:org:springframework:cloud:contract:verifier:converter:YamlContract:TestCookieMatcher",
+                "properties" : {
+                  "key" : {
+                    "type" : "string"
+                  },
+                  "regex" : {
+                    "type" : "string"
+                  },
+                  "command" : {
+                    "type" : "string"
+                  },
+                  "predefined" : {
+                    "type" : "string",
+                    "enum" : [ "only_alpha_unicode", "number", "any_double", "any_boolean", "ip_address", "hostname", "email", "url", "uuid", "iso_date", "iso_date_time", "iso_time", "iso_8601_with_offset", "non_empty", "non_blank" ]
+                  },
+                  "regexType" : {
+                    "type" : "string",
+                    "enum" : [ "as_integer", "as_double", "as_float", "as_long", "as_short", "as_boolean", "as_string" ]
+                  }
+                }
+              }
+            }
+          }
+        },
+        "async" : {
+          "type" : "boolean"
+        },
+        "fixedDelayMilliseconds" : {
+          "type" : "integer"
+        }
+      }
+    },
+    "input" : {
+      "type" : "object",
+      "id" : "urn:jsonschema:org:springframework:cloud:contract:verifier:converter:YamlContract:Input",
+      "properties" : {
+        "messageFrom" : {
+          "type" : "string"
+        },
+        "triggeredBy" : {
+          "type" : "string"
+        },
+        "messageHeaders" : {
+          "type" : "object",
+          "additionalProperties" : {
+            "type" : "any"
+          }
+        },
+        "messageBody" : {
+          "type" : "any"
+        },
+        "messageBodyFromFile" : {
+          "type" : "string"
+        },
+        "messageBodyFromFileAsBytes" : {
+          "type" : "string"
+        },
+        "assertThat" : {
+          "type" : "string"
+        },
+        "matchers" : {
+          "type" : "object",
+          "$ref" : "urn:jsonschema:org:springframework:cloud:contract:verifier:converter:YamlContract:StubMatchers"
+        }
+      }
+    },
+    "outputMessage" : {
+      "type" : "object",
+      "id" : "urn:jsonschema:org:springframework:cloud:contract:verifier:converter:YamlContract:OutputMessage",
+      "properties" : {
+        "sentTo" : {
+          "type" : "string"
+        },
+        "headers" : {
+          "type" : "object",
+          "additionalProperties" : {
+            "type" : "any"
+          }
+        },
+        "body" : {
+          "type" : "any"
+        },
+        "bodyFromFile" : {
+          "type" : "string"
+        },
+        "bodyFromFileAsBytes" : {
+          "type" : "string"
+        },
+        "assertThat" : {
+          "type" : "string"
+        },
+        "matchers" : {
+          "type" : "object",
+          "$ref" : "urn:jsonschema:org:springframework:cloud:contract:verifier:converter:YamlContract:TestMatchers"
+        }
+      }
+    },
+    "description" : {
+      "type" : "string"
+    },
+    "label" : {
+      "type" : "string"
+    },
+    "name" : {
+      "type" : "string"
+    },
+    "priority" : {
+      "type" : "integer"
+    },
+    "ignored" : {
+      "type" : "boolean"
+    },
+    "inProgress" : {
+      "type" : "boolean"
+    }
+  }
+}
diff --git a/reference/pdf/spring-cloud-contract.pdf b/reference/pdf/spring-cloud-contract.pdf index 0c1f9d104e..5307559add 100644 --- a/reference/pdf/spring-cloud-contract.pdf +++ b/reference/pdf/spring-cloud-contract.pdf @@ -5,8 +5,8 @@ /Author /Creator (Asciidoctor PDF 1.5.0.alpha.18, based on Prawn 2.2.2) /Producer -/ModDate (D:20191022095310+00'00') -/CreationDate (D:20191022095337+00'00') +/ModDate (D:20191022101842+00'00') +/CreationDate (D:20191022101910+00'00') >> endobj 2 0 obj diff --git a/spring-cloud-contract-maven-plugin/apidocs/allclasses-frame.html b/spring-cloud-contract-maven-plugin/apidocs/allclasses-frame.html index 476b34d3bf..df6577b15d 100644 --- a/spring-cloud-contract-maven-plugin/apidocs/allclasses-frame.html +++ b/spring-cloud-contract-maven-plugin/apidocs/allclasses-frame.html @@ -2,7 +2,7 @@ - + All Classes (Spring Cloud Contract Maven Plugin 2.2.0.BUILD-SNAPSHOT API) diff --git a/spring-cloud-contract-maven-plugin/apidocs/allclasses-noframe.html b/spring-cloud-contract-maven-plugin/apidocs/allclasses-noframe.html index 8c5d397701..2cef3e11b3 100644 --- a/spring-cloud-contract-maven-plugin/apidocs/allclasses-noframe.html +++ b/spring-cloud-contract-maven-plugin/apidocs/allclasses-noframe.html @@ -2,7 +2,7 @@ - + All Classes (Spring Cloud Contract Maven Plugin 2.2.0.BUILD-SNAPSHOT API) diff --git a/spring-cloud-contract-maven-plugin/apidocs/constant-values.html b/spring-cloud-contract-maven-plugin/apidocs/constant-values.html index ec3c71507e..ae2e3da5da 100644 --- a/spring-cloud-contract-maven-plugin/apidocs/constant-values.html +++ b/spring-cloud-contract-maven-plugin/apidocs/constant-values.html @@ -2,7 +2,7 @@ - + Constant Field Values (Spring Cloud Contract Maven Plugin 2.2.0.BUILD-SNAPSHOT API) diff --git a/spring-cloud-contract-maven-plugin/apidocs/deprecated-list.html b/spring-cloud-contract-maven-plugin/apidocs/deprecated-list.html index ccf6a73de4..b68018e05b 100644 --- a/spring-cloud-contract-maven-plugin/apidocs/deprecated-list.html +++ b/spring-cloud-contract-maven-plugin/apidocs/deprecated-list.html @@ -2,7 +2,7 @@ - + Deprecated List (Spring Cloud Contract Maven Plugin 2.2.0.BUILD-SNAPSHOT API) diff --git a/spring-cloud-contract-maven-plugin/apidocs/help-doc.html b/spring-cloud-contract-maven-plugin/apidocs/help-doc.html index 77065a37e7..6a9b993fb2 100644 --- a/spring-cloud-contract-maven-plugin/apidocs/help-doc.html +++ b/spring-cloud-contract-maven-plugin/apidocs/help-doc.html @@ -2,7 +2,7 @@ - + API Help (Spring Cloud Contract Maven Plugin 2.2.0.BUILD-SNAPSHOT API) diff --git a/spring-cloud-contract-maven-plugin/apidocs/index-all.html b/spring-cloud-contract-maven-plugin/apidocs/index-all.html index 561e91e05d..c7f0ce1f73 100644 --- a/spring-cloud-contract-maven-plugin/apidocs/index-all.html +++ b/spring-cloud-contract-maven-plugin/apidocs/index-all.html @@ -2,7 +2,7 @@ - + Index (Spring Cloud Contract Maven Plugin 2.2.0.BUILD-SNAPSHOT API) diff --git a/spring-cloud-contract-maven-plugin/apidocs/index.html b/spring-cloud-contract-maven-plugin/apidocs/index.html index 25cf789cca..4fdc3ba329 100644 --- a/spring-cloud-contract-maven-plugin/apidocs/index.html +++ b/spring-cloud-contract-maven-plugin/apidocs/index.html @@ -2,7 +2,7 @@ - + Spring Cloud Contract Maven Plugin 2.2.0.BUILD-SNAPSHOT API