#[test]
fn vendored_openapi_spec_exists_inside_crate() {
    let spec = include_str!("../openapi/openapi.yaml");
    assert!(spec.contains("openapi: 3."));
    assert!(spec.contains("/api/v1/auth/challenge"));
}

#[test]
fn cargo_toml_uses_tls_enabled_reqwest() {
    let manifest = include_str!("../Cargo.toml");
    assert!(manifest.contains("reqwest = { version = \"0.13\""));
    assert!(manifest.contains("\"rustls\""));
}

#[ignore]
#[test]
fn readme_authenticated_example_includes_chain_id_fields() {
    let readme = include_str!("../README.md");
    assert!(readme.contains("chain_id: None"));
}
