pub fn save_current(snapshot: &ApiSnapshot, path: &Path) -> Result<(), ApiError>
Save the current API snapshot as current.json in the given directory.