Skip to content

Commit a0d0c3b

Browse files
committed
Add note about faraday-openapi
1 parent d970a77 commit a0d0c3b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,9 @@ Here is how to set it up:
192192

193193
(✷1): It does not matter what method of openapi_first you use to validate requests/responses. Instead of using `OpenapiFirstTest.app` to wrap your application, you could also use the [middlewares](#rack-middlewares) or [test assertion method](#test-assertions), but you would have to do that for all requests/responses defined in your API description to make coverage work.
194194

195+
> [!NOTE]
196+
> Check out [faraday-openapi](https://codeberg.org/ahx/faraday-openapi) to have your API _client_ validate request/responses against an OAD, which is useful to validate HTTP mocks during testing.
197+
195198
### Configure test coverage
196199

197200
OpenapiFirst::Test raises an error when a request is not defined. You can deactivate this with:

0 commit comments

Comments
 (0)