thanix 0.1.0-alpha.3

A yaml-to-rust code generator for generating Rust code from yaml config files e.g. as found in openAPI.
1
2
3
4
5
6
7
{}
{}
pub fn {}(query: {}{}) -> Result<reqwest::blocking::Response, reqwest::Error> {{
    let binding = THANIX_CLIENT.lock().unwrap();
    let state = binding.as_ref().unwrap();
    return state.client.{}(format!("{{}}{}?{{}}", state.base_url, serde_qs::to_string(&query).unwrap())).header("Authorization", format!("Token {{}}", state.authentication_token)).send();
}}