EXXETA/openapi-cop
View on GitHub ↗ ★ 371 TypeScript
A proxy that validates responses and requests against an OpenAPI document. https://www.npmjs.com/package/openapi-cop https://hub.docker.com/r/lxlu/openapi-cop
5 mentions on Hacker News by 4 people: 3 stories, 2 comments · first 2020-03-02 · latest 2021-08-08
20082026
-
…are conform to the swagger json which is easy to hook between frontend and backend in dev-mode [1] https://github.com/EXXETA/openapi-cop
comment by ekseda · 2021-08-08 · in Testing in production: using JSON Schema for 3rd party API response validation -
We created a proxy that only tunnels data that matches the swagger.json. https://github.com/EXXETA/openapi-cop This is cool for dev mode but you do not always want it in production because deep validation of all requests and responses…
comment by dsun176 · 2020-04-08 · in How porting to TypeScript solved our API woes