GitHub - opticdev/optic: OpenAPI linting, diffing and testing. Optic helps prevent breaking changes, publish accurate documentation and improve the design of your APIs.

Skip to content

Navigation Menu

Sign in

Appearance settings

This repository was archived by the owner on Jan 12, 2026. It is now read-only.

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

Generate.and.Update.from.Tests.mp4
Forwards.only.Governance.Demo.mp4
Version.API.Demo.mp4

Install

npm install -g @useoptic/optic

⏭️ Get Started!

License

Optic is MIT Licensed

Optic Labs is now part of Atlassian