Spec versions and diffing¶
Layout¶
specs/
20.10/
vmanageapi_2010.json # one file or many — loader globs *.yaml *.yml *.json
20.15/
...
20.18/
...
The folder name is the version key. config.yaml's sdwan.active_version picks which one to load.
Adding a new version¶
- Download the OpenAPI document(s) from Cisco DevNet.
- Drop the file(s) into
specs/{version}/. -
Run a diff so you know what changed:
-
Update
config.yaml: -
Restart the server. Done.
Diff output¶
=== SD-WAN API Diff: 20.10 → 20.18 ===
REMOVED (3 operations — potentially breaking):
- getVedgeList [Monitoring - Device Details] GET /device/vedge
...
ADDED (217 new operations):
+ getDeviceById [Monitoring - Device Details] GET /device/{deviceId}
...
CHANGED (42 operations with parameter drift):
~ listAllDevices [Monitoring - Device Details]
added: 'includeTenantvSmart' — query, boolean, optional
Auto-fetching specs¶
Manually downloading is a chore. Tracked as issue #1. Recommended approach is documented there.