GithubHelp home page GithubHelp logo

devdoshi / optic Goto Github PK

View Code? Open in Web Editor NEW

This project forked from opticdev/optic

1.0 1.0 0.0 142.89 MB

APIs that Document & Test Themselves

Home Page: https://useoptic.com/

License: MIT License

JavaScript 44.23% Batchfile 0.01% TypeScript 7.40% Scala 47.59% Shell 0.14% Makefile 0.08% HTML 0.48% CSS 0.06%

optic's Introduction



Optic

APIs that Document & Test Themselves

How it WorksKey FeaturesDocumentationLicense

How it Works

Optic is like Git, but for your APIs

Add Optic to your Development Enviroment

Similar to git init

Add the Optic Proxy so Optic can learn how your API works. It only takes 5 minutes and will save you hours if you write OpenAPI manually today.

yarn add global @useoptic/cli
api init

Use the Optic Proxy to Monitor your API's Behavior

api start
[optic] Starting ToDo API on Port: 3005, with npm run server-start

Use Optic to Manage your API Specification

Similar to git diff, git add and git commit

Optic constantly diffs your API's actual behavior against its specification. Optic shows you the API diff and makes it easy to:

  • Add new API Endpoints to your specification
  • Update the specification when it observes new behavior for an existing API Endpoint
  • Catch bugs and unexpected API behavior early :)

gif

Key Features

📝Accurate API Documentation - We built Optic to make maintaining accurate specs for your APIs automatic and developer friendly. Once you add Optic to your API repo, it automatically tracks your API’s behavior and maintains a change log of its behavior over time.

It’s kind of like Git, but instead of tracking files, Optic automatically diffs and tracks API endpoints. When new behavior is observed, Optic makes it easy to update the spec.

⚙️ Automated Testing - Automate most of your contract testing. Optic uses live testing with spec coverage to make testing APIs easy.

👍 Beautiful Docs - Stripe-style documentation for every API managed by Optic.

👋100% Open Source, Runs locally, data is only stored in your API Repo

Read the full docs at: docs.useoptic.com

License

MIT

optic's People

Contributors

acunniffe avatar devdoshi avatar taraedits avatar dependabot[bot] avatar esopian avatar matthewhudson avatar

Stargazers

 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.