// @generated by `cargo xtask codegen` — do not edit.
// source: lexicons/repo/addSecret.json (sh.tangled.repo.addSecret)
#![allow(clippy::all)]
pub const NSID: &str = "sh.tangled.repo.addSecret";
#[derive(Debug, Clone, Default, serde::Serialize, serde::Deserialize)]
pub struct Input {
pub key: String,
pub repo: String,
pub value: String,
}
/// Add a CI secret
///
/// The response has no body; use [`crate::xrpc::send_unit`].
pub fn add_secret(
http: &reqwest::Client,
base: &str,
input: &Input,
) -> reqwest::RequestBuilder {
let rb = http.post(crate::xrpc::xrpc_url(base, NSID));
let rb = rb.json(input);
rb
}