What tools can I use to define Webservices contract?

This page summarizes the projects mentioned and recommended in the original post on /r/softwarearchitecture

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • prism

    Turn any OpenAPI2/3 and Postman Collection file into an API server with mocking, transformations and validations. (by stoplightio)

  • 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.

  • dredd

    Language-agnostic HTTP API Testing Tool

  • 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.

  • 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.

    SurveyJS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts