OpenAPI linting, diffing and testing. Optic helps prevent breaking changes, publish accurate documentation and improve the design of your APIs.
TypeScript
1,531
3,211 commits
updated Jan 8, 2026
🧠 Generate OpenAPI from test traffic
⚡️ Keep OpenAPI spec accurate with automatic schema testing and patches
🤩 Catch Breaking Changes and apply Lint Rules with the same tool
Optic supports $ref and OpenAPI specs split across multiple files. It always
https://github.com/user-attachments/assets/b386bb42-39a5-4db0-aea5-c2399588ebb0
https://github.com/user-attachments/assets/bb6af098-6e91-4636-b88c-1c9bc586cce0
https://github.com/user-attachments/assets/1b07bfd9-364c-4bbe-baeb-493bed392cdf
npm install -g @useoptic/optic
Optic is MIT Licensed
(top 24 of 25)
1,169 followers · starred Feb 2023
980 followers · starred Oct 2020
1,112 followers · starred Apr 2023
418 followers · starred Jan 2025
OpenAPI linting, diffing and testing. Optic helps prevent breaking changes, publish accurate documentation and improve the design of your APIs.
TypeScript
1,531
3,211 commits
updated Jan 8, 2026
🧠 Generate OpenAPI from test traffic
⚡️ Keep OpenAPI spec accurate with automatic schema testing and patches
🤩 Catch Breaking Changes and apply Lint Rules with the same tool
Optic supports $ref and OpenAPI specs split across multiple files. It always
https://github.com/user-attachments/assets/b386bb42-39a5-4db0-aea5-c2399588ebb0
https://github.com/user-attachments/assets/bb6af098-6e91-4636-b88c-1c9bc586cce0
https://github.com/user-attachments/assets/1b07bfd9-364c-4bbe-baeb-493bed392cdf
npm install -g @useoptic/optic
Optic is MIT Licensed
(top 24 of 25)
1,169 followers · starred Feb 2023
980 followers · starred Oct 2020
1,112 followers · starred Apr 2023
418 followers · starred Jan 2025