Gitpedia

Optic

OpenAPI linting, diffing and testing. Optic helps prevent breaking changes, publish accurate documentation and improve the design of your APIs.

From opticdev·Updated May 15, 2026·View on GitHub··Archived

⚡️ **Keep OpenAPI spec accurate** with automatic schema testing and patches The project is written primarily in TypeScript, distributed under the MIT License license, first published in 2018. It has gained significant community traction with 1,533 stars and 93 forks on GitHub. Key topics include: api-documentation, api-linter, apis, documentation, openapi.

Latest release: v1.0.9
August 10, 2025View Changelog →

GitHub Repo stars GitHub contributors npm license

Optic - OpenAPI made easy

🧠 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

Read Documentation

Demos

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

Install

bash
npm install -g @useoptic/optic

⏭️ Get Started!

License

Optic is MIT Licensed

Optic Labs is now part of Atlassian

Contributors

Showing top 12 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from opticdev/optic via the GitHub API.Last fetched: 5/31/2026