33
loading...
This website collects cookies to deliver better user experience
There are only two hard things in Computer Science: cache invalidation and naming things.
-- Phil Karlton
Discovery: provider & consumer (example: backend & frontend) engineers sit together and discuss their technical challenges. Exploring code, questioning the shape (specification) and referring to the REST approach.
Agreement: ultimately, engineers will come out with a pragmatic and relevant solution. They update with Stoplight.io and version the OpenAPI contract with git. Usually, this contract has been drafted during the discovery by both parties.
Implementation: TDD is cheaper, our OpenAPI contracts include examples that provide a free mock for the client and free test assertion & server-side validation.
We use the desktop application, so we can locally load our contract from our git repository into the editor.
Next level DX: none of our developers were familiar with OpenAPI and they didn’t have to be with stoplight: WYSIWYG for discovery, linter, direct edition in yaml/json, preview... Engineers can focus on the "what" & "why" rather than the "how".
Not intrusive: the desktop app lets you define your own convention, standard, directory structure, and workflow. It adapts to your needs and your organization doesn't have to fit the tool.
Provides a mock server locally. We can even quickly prototype our implementation: our local docker container fetches generated data complying to the defined contract.
/doc/OpenAPI
. 33