OpenAPI Sync is currently in Beta. Share feedback to help improve this feature.
Key features
- Automatic change detection — detect new, modified, and removed endpoints
- Track local changes — see how your collection differs from the spec
- Selective sync — review changes and choose which updates to apply
- Preserve customizations — your tests, assertions, and scripts are never overwritten
Connect to an OpenAPI spec
- Open your collection in Bruno
- Click the collection menu (three dots) and select OpenAPI Sync
- Choose your source:
- URL: Enter the URL of your OpenAPI specification (e.g.,
https://api.example.com/openapi.json) - File: Select a local OpenAPI specification file (JSON or YAML)
- URL: Enter the URL of your OpenAPI specification (e.g.,
- Click Connect
Bruno supports OpenAPI 3.x specifications in JSON or YAML format.
Understanding the sync interface
Once connected, the OpenAPI Sync tab displays three main sections:Overview
The overview shows your sync status at a glance:- Total in Collection — endpoints currently in your collection
- In Sync with Spec — endpoints that match the latest spec
- Changed in Collection — endpoints modified, deleted, or added locally since last sync
- Spec Updates Pending — spec changes available to sync
Collection changes
This tab shows endpoints in your collection that differ from the stored spec:- Modified — endpoints you’ve changed locally
- Deleted — endpoints you’ve removed from the collection
- Not in Spec — endpoints that exist only in your collection
Spec updates
This tab shows changes available from the remote spec:- New in Spec — endpoints added to the spec
- Updated in Spec — endpoints modified in the spec
- Removed from Spec — endpoints no longer in the spec
Syncing your collection
When updates are available:- Go to the Spec Updates tab
- Review each change — you can expand endpoints to see detailed diffs
- For each endpoint, choose to:
- Accept — apply the spec change to your collection
- Skip — keep your current version
- Click Sync Collection to apply your selections
Handling conflicts
When an endpoint has been modified in both the spec and your collection, Bruno marks it as a conflict. You must resolve all conflicts before syncing by choosing either the spec version or your local version.What gets updated during sync
When you sync an endpoint, Bruno updates:- Request method and URL
- Query parameters and path parameters
- Headers
- Request body
- Authentication settings
- Tests
- Pre-request and post-response scripts
- Assertions
- Custom documentation
Connection settings
Click the settings icon in the sync header to configure:- Source URL — update the OpenAPI spec location
- Auto Check — automatically check for updates (default: every 5 minutes)
Disconnecting
To disconnect OpenAPI Sync from your collection:- Open the sync settings
- Click Disconnect