use axum::{ Json, extract::{Path, State}, }; use serde_json::{Value, json}; use crate::{error::ApiError, routes::access::WorkspacePath, state::AppState}; pub async fn list_protocol_capabilities( Path(_path): Path, State(state): State, ) -> Result, ApiError> { Ok(Json(json!({ "items": state.service.list_protocol_capabilities().await }))) }