You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the issue
I am using the initializerJson.json to initialize Mock-Server. For my team it is more convenient to manage a standard set of mock-responses this way.
When specifying literal request/responses we can use definitions that are easy to format and read, but when using templates this is cumbersome and the documentation is not very helpful.
What you are trying to do
Trying to define a MUSTACHE based template in initializerJson.json file as
Describe the issue
I am using the initializerJson.json to initialize Mock-Server. For my team it is more convenient to manage a standard set of mock-responses this way.
When specifying literal request/responses we can use definitions that are easy to format and read, but when using templates this is cumbersome and the documentation is not very helpful.
What you are trying to do
Trying to define a MUSTACHE based template in initializerJson.json file as
but I have to specify it as:
Note that the template field is one long hard to maintain string.
Something tells me that there must be a way for a more convenient way to specify this.
MockServer version
5.15
To Reproduce
Use the snippets above as initializerJson,json file and the first snippet will result in an error
Expected behaviour
What you expected to happen: support for friendly format of json when using templates
MockServer Log
Log output, as INFO level (or lower)
The text was updated successfully, but these errors were encountered: