use schemars::JsonSchema;
use serde::Deserialize;
#[derive(Debug, Deserialize, JsonSchema)]
pub struct SearchQueryInput {
pub query: String,
}
#[derive(Debug, Deserialize, JsonSchema)]
pub struct ProviderInput {
pub provider_name: String,
pub namespace: Option<String>,
}
#[derive(Debug, Deserialize, JsonSchema)]
pub struct ProviderDocsInput {
pub provider_name: String,
pub service_slug: String,
pub namespace: Option<String>,
pub data_type: Option<String>,
}
#[derive(Debug, Deserialize, JsonSchema)]
pub struct ModuleInput {
pub namespace: String,
pub name: String,
pub provider: String,
pub version: Option<String>,
}
#[derive(Debug, Deserialize, JsonSchema)]
pub struct ModuleVersionInput {
pub namespace: String,
pub name: String,
pub provider: String,
}
#[derive(Debug, Deserialize, JsonSchema)]
pub struct PolicySearchInput {
pub query: String,
pub provider_filter: Option<String>,
}
#[derive(Debug, Deserialize, JsonSchema)]
pub struct PolicyDetailsInput {
pub namespace: String,
pub name: String,
}
#[derive(Debug, Deserialize, JsonSchema)]
pub struct ProviderCapabilitiesInput {
pub provider_name: String,
pub namespace: Option<String>,
}