name: pixiu
description: pixiu sample
resources:
- path: '/api/v1/test-dubbo/mock'
type: restful
description: mock
methods:
- httpVerb: GET
enable: true
mock: true
timeout: 1000ms
inboundRequest:
requestType: http
curl localhost:8888/api/v1/test-dubbo/mock -X GET
{
"message": "mock success"
}
We plan use can config custom result in the future. Not only api config way, but also create a match rule.