use crate::{models::schema::Schema, prelude::*, Result};
impl Client {
pub async fn get_schema(&self, channel: &str) -> Result<Schema> {
let url = self.url(format_args!("/experimental/schema/{channel}/latest"));
let response = self.get_json(url).await?;
Ok(response)
}
}