Articles tagged "openapi":
Black box contract testing - third party API mocking
We have an API that makes calls out to a third party - how do we test it? We can use .HAR files to configure a tool like Mockbin to act as the third party service.
Blackbox contract tests - Performance testing with Jest
We can use a tool called jest-timing-reporter to provide a performance diff in our Github pull request.
OpenAPI and contract tests with Jest
Using good ol' Jest to write some contract tests with our OpenAPI generated client SDK.
Using Postman and an OpenAPI spec for contract/blackbox tests
Syncing Postman with our Github repo, generating queries from our OpenAPI spec.
Postman and OpenAPI - Automating tests
Postman has an automated testing feature, but how well does it work?
Thoughts about JSON API
JSON API is an opinionated REST API structuring spec. I think it has some good ideas about what can be useful in a RESTful API, but ultimately the complexity of using it makes it not worth using.
Generating MSW mocks from an OpenAPI spec.
We're using msw-auto-mock to generate MSW mocks to test our React application.
Generating application and client code from an OpenAPI spec
We'll use openapi-generators to generate a Go backend and a React frontend.
Why use OpenAPI?
OpenAPI is a spec for describing HTTP APIs. It has a healthy ecosystem of tooling that supports it.