Skip to content
Oeiuwq Faith Blog OpenSource Porfolio

opticdev/optic

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

opticdev/optic.json
{
"createdAt": "2018-03-02T17:02:50Z",
"defaultBranch": "main",
"description": "OpenAPI linting, diffing and testing. Optic helps prevent breaking changes, publish accurate documentation and improve the design of your APIs.",
"fullName": "opticdev/optic",
"homepage": "",
"language": "TypeScript",
"name": "optic",
"pushedAt": "2025-08-10T23:03:56Z",
"stargazersCount": 1511,
"topics": [
"api-documentation",
"api-linter",
"apis",
"documentation",
"openapi",
"openapi3",
"swagger"
],
"updatedAt": "2025-11-21T20:12:01Z",
"url": "https://github.com/opticdev/optic"
}

GitHub Repo stars GitHub contributors npm license

🧠 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

Terminal window
npm install -g @useoptic/optic

Optic is MIT Licensed

Optic Labs is now part of Atlassian