You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simple Chai support for asserting that HTTP responses satisfy an OpenAPI spec.
17
+
Use Chai to assert that HTTP responses satisfy an OpenAPI spec.
19
18
20
19
## Problem 😕
21
20
@@ -36,11 +35,11 @@ Features:
36
35
- Informs you if your OpenAPI spec is invalid
37
36
- Supports responses from `axios`, `request-promise`, `supertest`, `superagent`, and `chai-http`
38
37
- Bundled with a TypeScript Declaration File for [use in TypeScript projects](#using-this-plugin-in-a-typescript-project)
39
-
- Use in [Mocha](#usage), [Jest](https://github.com/RuntimeTools/OpenAPIValidators/tree/master/packages/jest-openapi#readme) and other test runners
38
+
- Use in [Mocha](#usage), [Jest](https://github.com/openapi-library/OpenAPIValidators/tree/master/packages/jest-openapi#readme) and other test runners
40
39
41
40
## Contributing ✨
42
41
43
-
If you've come here to help contribute - thanks! Take a look at the [contributing](https://github.com/RuntimeTools/OpenAPIValidators/blob/master/CONTRIBUTING.md) docs to get started.
42
+
If you've come here to help contribute - thanks! Take a look at the [contributing](https://github.com/openapi-library/OpenAPIValidators/blob/master/CONTRIBUTING.md) docs to get started.
You don't need to `npm install --save-dev @types/chai-openapi-response-validator` because we [bundle our TypeScript Definition file into this package](https://github.com/RuntimeTools/OpenAPIValidators/blob/master/packages/chai-openapi-response-validator/index.d.ts).
373
+
You don't need to `npm install --save-dev @types/chai-openapi-response-validator` because we [bundle our TypeScript Definition file into this package](https://github.com/openapi-library/OpenAPIValidators/blob/master/packages/chai-openapi-response-validator/index.d.ts).
374
+
375
+
But make sure you `npm install --save-dev @types/chai` because Chai does not bundle their TypeScript definition files like this.
0 commit comments