Updated docs
This commit is contained in:
@@ -1298,7 +1298,7 @@ Example of a `pom.xml` inside the `server` folder.
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<java.version>1.8</java.version>
|
||||
<spring-cloud-contract.version>1.0.0.BUILD-SNAPSHOT</spring-cloud-contract.version>
|
||||
<spring-cloud-contract.version>1.0.1.BUILD-SNAPSHOT</spring-cloud-contract.version>
|
||||
<spring-cloud-dependencies.version>Camden.BUILD-SNAPSHOT</spring-cloud-dependencies.version>
|
||||
</properties>
|
||||
|
||||
|
||||
@@ -433,7 +433,7 @@ extended by the autogenerated tests. You have two options:
|
||||
|
||||
The convention is such that if you have a contract under e.g. `src/test/resources/contract/hello/v1/` and provide the value of the `packageWithBaseClasses` property
|
||||
to `hello` then we will assume that there is a `HelloV1Base` class under `hello` package. In other words we take last two parts of package
|
||||
if they exist and form a class with a `Base` suffix. Takes precedence over **baseClassForTests**. Example of usage in the `contracts` closure:
|
||||
if they exist and form a class with a `Base` suffix. Takes precedence over **baseClassForTests**. Example of usage:
|
||||
|
||||
[source,xml,indent=0]
|
||||
----
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
<packageWithBaseClasses>hello</packageWithBaseClasses>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<!-- tag::convention[] -->
|
||||
<!-- end::convention[] -->
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user