Declaring mocks
Discovering what to declare
sfp project integrations scanmocks.yaml
mocks.yamlapiVersion: sfp.flxbl.io/mocks/v1
services:
- name: OrderStatusApi # logical service name
namedCredential: Order_Status_Service # the Named Credential that gets switched
externalService: OrderStatusApi # optional — External Service for spec-based mocking
rules: ./OrderStatusApi.rules.yaml # optional — custom responsesRules files
Where responses are deliberately simple
Trying mocks locally
Last updated
Was this helpful?