@useoptic/cli
Optic's open source tool for building APIs that document & test themselves
Last updated 13 days ago by acunniffe .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @useoptic/cli 
SYNC missed versions from official npm registry.


Optic
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

Watch a 3 minute Video Demo

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

Documentation https://docs.useoptic.com

Read the full docs at: docs.useoptic.com

License

MIT

Current Tags

  • 6.6.12                                ...           latest (13 days ago)

92 Versions

  • 6.6.12                                ...           13 days ago
  • 6.6.11                                ...           19 days ago
  • 6.6.10                                ...           19 days ago
  • 6.6.9                                ...           a month ago
  • 6.6.8                                ...           a month ago
  • 6.6.7                                ...           a month ago
  • 6.6.5                                ...           a month ago
  • 6.6.3                                ...           a month ago
  • 6.6.2                                ...           a month ago
  • 6.6.1                                ...           a month ago
  • 6.5.12                                ...           a month ago
  • 6.6.0                                ...           a month ago
  • 6.5.11                                ...           a month ago
  • 6.5.10                                ...           a month ago
  • 6.5.8                                ...           a month ago
  • 6.5.7                                ...           a month ago
  • 6.5.6                                ...           a month ago
  • 6.5.5                                ...           a month ago
  • 6.5.4                                ...           a month ago
  • 6.5.3                                ...           a month ago
  • 6.5.2                                ...           a month ago
  • 6.5.1                                ...           2 months ago
  • 6.5.0                                ...           2 months ago
  • 6.4.4                                ...           2 months ago
  • 6.4.3                                ...           2 months ago
  • 6.4.2                                ...           2 months ago
  • 6.4.1                                ...           2 months ago
  • 6.4.0                                ...           2 months ago
  • 6.3.0                                ...           2 months ago
  • 6.2.5                                ...           3 months ago
  • 6.2.4                                ...           3 months ago
  • 6.2.3                                ...           3 months ago
  • 6.2.2                                ...           3 months ago
  • 6.2.1                                ...           3 months ago
  • 6.2.0                                ...           3 months ago
  • 6.1.8                                ...           4 months ago
  • 6.1.7                                ...           4 months ago
  • 6.1.6                                ...           4 months ago
  • 6.1.5                                ...           4 months ago
  • 6.1.4                                ...           4 months ago
  • 6.1.3                                ...           4 months ago
  • 6.1.2                                ...           4 months ago
  • 6.1.0                                ...           5 months ago
  • 6.0.9                                ...           5 months ago
  • 6.0.8                                ...           5 months ago
  • 6.0.7                                ...           5 months ago
  • 6.0.6                                ...           5 months ago
  • 6.0.4                                ...           5 months ago
  • 6.0.3                                ...           5 months ago
  • 6.0.2                                ...           5 months ago
  • 6.0.1                                ...           5 months ago
  • 6.0.0                                ...           5 months ago
  • 5.0.0-alpha5                                ...           5 months ago
  • 5.0.0-alpha4                                ...           5 months ago
  • 5.0.0-alpha3                                ...           5 months ago
  • 5.0.0-alpha.3                                ...           5 months ago
  • 5.0.0-alpha.2                                ...           5 months ago
  • 5.0.0-alpha.1                                ...           6 months ago
  • 4.0.100                                ...           6 months ago
  • 3.2.8                                ...           9 months ago
  • 3.2.7                                ...           9 months ago
  • 3.2.6                                ...           9 months ago
  • 3.2.5                                ...           9 months ago
  • 3.2.4                                ...           9 months ago
  • 3.2.3                                ...           9 months ago
  • 3.2.2                                ...           9 months ago
  • 3.2.1                                ...           9 months ago
  • 3.2.0                                ...           9 months ago
  • 2.5.4                                ...           10 months ago
  • 2.5.3                                ...           10 months ago
  • 2.5.2                                ...           10 months ago
  • 2.5.1                                ...           10 months ago
  • 2.5.0                                ...           10 months ago
  • 2.2.1                                ...           10 months ago
  • 2.2.0                                ...           a year ago
  • 2.1.8                                ...           a year ago
  • 2.1.7                                ...           a year ago
  • 2.1.6                                ...           a year ago
  • 2.1.5                                ...           a year ago
  • 2.1.4                                ...           a year ago
  • 2.1.3                                ...           a year ago
  • 2.1.2                                ...           a year ago
  • 2.1.0                                ...           a year ago
  • 2.0.4                                ...           a year ago
  • 2.0.3                                ...           a year ago
  • 2.0.2                                ...           a year ago
  • 2.0.1                                ...           a year ago
  • 2.0.0                                ...           a year ago
  • 0.1.4-alpha.1                                ...           a year ago
  • 0.1.2-alpha                                ...           a year ago
  • 0.1.1-alpha                                ...           a year ago
  • 0.1.0-alpha                                ...           a year ago
Downloads
Today 0
This Week 92
This Month 156
Last Day 0
Last Week 0
Last Month 461
Dependencies (40)
Dev Dependencies (22)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |