pub async fn sync_openapi_registry(
client: &RommClient,
cache_path: &Path,
) -> Result<(EndpointRegistry, Option<String>)>Expand description
Resolve OpenAPI JSON: try the server first (updates disk cache when the spec changes), then
./openapi.json, then the user cache file, then the embedded bundle.
Also calls GET /api/heartbeat for the RomM server version shown in Settings.