Generating the mock response from YAML files

Hi,

We have generated the API proxies using the YAML files and now we wanted to mock the response to same proxies with the corresponding YAML files.Is there anyway we can do that in apigee?

Thanks

0 2 1,053
2 REPLIES 2

Any thoughts on this question?

I assume YAML has details about path and JSON payload. Now if you are looking to mock the responses for the endpoints you have in OpenAPI (fka swagger) we can use api-mocker

https://github.com/apigeecs/apigee-apimocker/tree/master/mock

Above is github link which provides details on how you can create mocker