Added Accurest class for DSL

This commit is contained in:
Marcin Grzejszczak
2016-04-24 23:45:24 +02:00
parent 796a1e2c19
commit 5fdfd38bf5
3 changed files with 21 additions and 2 deletions

View File

@@ -4,8 +4,9 @@ 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.
Let's look at full example of a contract definition.
WARNING: Since {messaging_version} you can use the `io.codearte.accurest.Accurest` class in your DSL files.
Let's look at full example of a contract definition.
[source,groovy,indent=0]
----