Tonight we released into beta an exciting new tool for the RAML ecosystem - the RAML Mocking Service.
Integrated with the API Designer, you can now mock a RAML spec with a single button click and no configuration. Your mocked API will immediately be live, persists indefinitely, updates as you save changes to your RAML spec, and can be exercised with the API Console, API Notebook, or with your own client code. It can be accessed via the mock baseURL that is automatically injected into your RAML spec on activation. Let us know what you think, and post bugs in this forum in you find them!
A more in depth post on the capabilities of the mocking service is coming soon, but for now you can check it out on your own, using any valid RAML spec.
####Mocking Service Features####
- Request parameter validation (type-match, required)
- Request body validation base on schemas
- Mocked responses using example data
- API Mocks update as you save your work
####Mocking Service Usage####
To activate the mocking service for a RAML spec, simply click the new “Mocking Service” button in the top right of the API Designer toolbar. The mocking service is now on, and will update whenever you save your RAML spec. You can immediately starting using the API Console to play around with your API.