...

Optic

OpenAPI linting, diffing and testing. Optic helps prevent breaking changes, publish accurate documentation and improve the design of your APIs.
github-icon
GitHub
1.47kstar-icon
Created 7 years ago, last commit 11 days ago
42 contributors
3.79k commits
Stars added on GitHub, month by month
8
9
10
11
12
1
2
3
4
5
6
7
2024
2025
Stars added on GitHub, per day, on average
Yesterday
+1star-icon
Last week
+0.3
star-icon /day
Last month
+0.2
star-icon /day
Last 12 months
+0.4
star-icon /day
npmPackage on NPM
Monthly downloads on NPM
8
9
10
11
12
1
2
3
4
5
6
7
2024
2025
README

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

Demos

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

Install

npm install -g @useoptic/optic

License

Optic is MIT Licensed

Optic Labs is now part of Atlassian