@@ -4,7 +4,7 @@ Contract DSL in Accurest is written in Groovy, but don't be alarmed if you didn'
|
||||
a tiny subset of it (namely literals, method calls and closures). What's more, Accurest's DSL is designed to be programmer-readable without any knowledge of the DSL itself -
|
||||
it's statically typed.
|
||||
|
||||
WARNING: Since {messaging_version} you can use the `io.codearte.accurest.dsl.Accurest` class in your DSL files.
|
||||
TIP: Since {messaging_version} you can use the `io.codearte.accurest.dsl.Accurest` class in your DSL files.
|
||||
|
||||
Let's look at full example of a contract definition.
|
||||
|
||||
@@ -17,6 +17,12 @@ Not all features of the DSL are used in example above. If you didn't find what y
|
||||
|
||||
> You can easily compile Accurest Contracts to WireMock stubs mapping using standalone maven command: `mvn io.codearte.accurest:accurest-maven-plugin:convert`.
|
||||
|
||||
=== Limitations
|
||||
|
||||
WARNING: Accurest doesn't support XML properly. Please use JSON or help us implement this feature.
|
||||
|
||||
WARNING: Accurest supports equality check on text response. Regular expressions are not yet available.
|
||||
|
||||
=== HTTP Top-Level Elements
|
||||
|
||||
Following methods can be called in the top-level closure of a contract definition. Request and response are mandatory, priority is optional.
|
||||
|
||||
Reference in New Issue
Block a user