Auto-sync your spec
If your OpenAPI spec is published at a URL, Specway can compare your docs against it and bring in changes.
Connect a spec URL
If you imported the API from a URL, it is already connected. Otherwise:
- In the visual editor: click Live Updates, enter the Spec URL and click Connect.
- In the app: open the API from the APIs tab and enter the Live Spec URL in General.
The APIs list shows "No live spec. Connect a URL for auto-updates" for APIs without one.
Choose a sync mode
On the API's page, under General, pick a Sync Mode:
| Mode | What happens | |------|--------------| | Off | Specway does not check for changes. | | Review Changes | Changes are found and shown to you. You choose which to apply. | | Auto-Apply | Changes are found and applied without asking. |
Specway checks for changes when you open your API Docs pages in the app, not on a schedule. If nobody opens the app, changes are not picked up. Click Sync Now whenever you deploy a new spec.
Sync on demand
- On the API's page, click Sync Now. It fetches the spec and applies every change straight away, or shows "Already up to date". Last synced shows when it last ran.
- To choose which changes to apply, open Live Updates in the visual editor instead. It shows Updates available or Up to date. Click Review Changes to pick changes, or Check again to check now.
Get an email when the spec changes
With Review Changes or Auto-Apply turned on, tick Email me when changes are detected and enter an address. The email lists how many endpoints were added, modified and removed.
Disconnect
In Live Updates, click Disconnect spec URL. Your docs stay as they are.