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
We want to return large data sets in our application and have trouble editing the inline JSON inside of the YAML config file.
Can mockingjay-server include an optional reference to a separate JSON file in an endpoint that means we can edit the JSON in a JSON formatted file, instead of editing inline JSON in a YAML file.
e.g. the config could look like this
- name: My endpointrequest:
uri: /api/countmethod: POSTheaders:
content-type: application/jsonbody: '{ "data": [], }'response:
code: 200# Replace the `body` property with a reference to a JSON filebodyAsFile: './my-endpoint-response.json'
The text was updated successfully, but these errors were encountered:
We want to return large data sets in our application and have trouble editing the inline JSON inside of the YAML config file.
Can
mockingjay-server
include an optional reference to a separate JSON file in an endpoint that means we can edit the JSON in a JSON formatted file, instead of editing inline JSON in a YAML file.e.g. the config could look like this
The text was updated successfully, but these errors were encountered: