Skip to main content

Optic

Optic Optic is an open-source tool that enhances API development by providing OpenAPI linting, diffing, and testing capabilities. It helps teams prevent breaking changes, publish accurate documentation, and improve API design by integrating seamlessly into continuous integration workflows

Use cases

  • Preventing Breaking Changes: Optic detects breaking changes between different versions of an OpenAPI specification, ensuring API stability and backward compatibility.

  • Automated API Documentation: By capturing traffic from tests, Optic verifies the accuracy of OpenAPI specifications, facilitating the maintenance of up-to-date and precise API documentation.

  • API Design Improvement: Optic's linting features assist in enhancing API design by enforcing consistent naming conventions and requiring comprehensive documentation within the OpenAPI spec. It utilizes Spectral, a flexible JSON/YAML linter, to apply custom rulesets for API design validation.

Reference of usage in our organization