Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
O

OpenAPIValidators

> DevOps
Open source

Use Jest or Chai to assert that HTTP responses satisfy an OpenAPI spec

195 stars0 likes1 views
WebsiteGitHub

About

Use Jest or Chai to assert that HTTP responses satisfy an OpenAPI spec

OpenAPI Validators

Use Jest or Chai to assert that HTTP responses satisfy an OpenAPI spec.

Problem

If your server's behaviour doesn't match your API documentation, then you need to correct your server, your documentation, or both. The sooner you know the better.

Solution

These test plugins let you automatically test whether your server's behaviour and documentation match. They extend Jest and Chai to support the OpenAPI standard for documenting REST APIs. In your JavaScript tests, you can simply assert expect(responseObject).toSatisfyApiSpec()

jest-openapi

Chai OpenAPI Response Validator

Contributors ✨

Richard Waller

Jonny Spruce

Alex Dobeck

Ben Guthrie

Martijn Vegter

Ludek

Tommy Giardina

Oleksandr Khotemskyi

Amit Keinan

DetachHead

Kristoffer Karlsson

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

TypeScriptchaichai-pluginjestjest-tests

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
CategoryDevOps
PricingOpen source

> Related tools

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理