Optic

OpenAPI linting, diffing and testing. Optic helps prevent breaking changes, publish accurate documentation and improve the design of your APIs.
GitHub
1.42k
Created 7 years ago, last commit a month ago
41 contributors
3.78k commits
Stars added on GitHub, month by month
3
4
5
6
7
8
9
10
11
12
1
2
2024
2025
Stars added on GitHub, per day, on average
Yesterday
=
Last week
0.0
/day
Last month
+0.3
/day
Last 12 months
+0.4
/day
npmPackage on NPM
Monthly downloads on NPM
3
4
5
6
7
8
9
10
11
12
1
2
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