Our great sponsors
-
prism
Turn any OpenAPI2/3 and Postman Collection file into an API server with mocking, transformations and validations. (by stoplightio)
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
Once you have an OpenAPI specification, the API client development team can run mock servers against the spec. This is much better than using JSON examples or something similar, since the spec is always up to date and it works like a real server. You can use multiple choices to run a mock server, like prism or microapis.io. I believe Postman also offers that capability.
Having an OpenAPI specification, it's also easy to test and validate your server implementation without having to write a single test. You do that using Dredd. Dredd runs a through test suite against your server implementation for free. The only thing you need is the API specification. Dredd can be confusing at the beginning, so I wrote a blog post about using it which you may find useful.