Base Usage
YAML Mapping
Mimus Serve allows to configure mapping as YAML files instead of JSON. This offers a more flexible and less verbose way of writing mappings. The JSON format origninating from WireMock is still supported.
Single Mapping in a file
In the yaml format and similar to the JSON format it is possible to put a single mapping in a file
Multiple mappings version 1
Also similar to JSON, multiple mappings can be put in an array property named mappings.
Multiple mappings version 2
Alternatively, muliple mappings can be defined in a multi document YAML file like the following.