Page tree
Skip to end of metadata
Go to start of metadata

The SWAT framework supports the Mockup REST API adapter on the BusinessEntity object level.

To configure a BusinessEntity control to use the Mockup API Data please use the following repository attribute settings on a Business Entity Object:


AttributeValue
SUBTYPE MockupCollection

MockupData

The endpoint to use to request for data.

eg. /resources/mockdata/data.json


JSON response for the MockupData needs to returned as an array of objects:


Example

In SWAT in screen "searchToolbarDialog" there is the following example:

  • No labels