rust-cnb 0.1.2

[DEPRECATED - use `cnb` crate instead] rust-cnb with Generated API client
Documentation
# rust-cnb

> ⚠️ **此 crate 已过时 (Deprecated)**
>
> 此 crate 不再维护,请使用新的 [`cnb`]https://crates.io/crates/cnb crate。
>
> ```toml
> [dependencies]
> cnb = "0.1.2"
> ```

---

API client generated from Swagger specification

## 安装

将以下内容添加到你的 `Cargo.toml` 文件中:

```toml
[dependencies]
rust-cnb = "1.0"
reqwest = { version = "0.11", features = ["json"] }
tokio = { version = "1", features = ["full"] }
serde = { version = "1.0", features = ["derive"] }
```

## 使用方法

```rust
use rust-cnb::client::ApiClient;

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let client = ApiClient::new("https://localhost".to_string());
    
    // 示例调用
    
    Ok(())
}
```

## API 文档

此 SDK 基于 CNB OPENAPI API 生成。

API 版本: 1.0

### 可用模块


### 认证

该 API 不需要认证。

## 错误处理

所有 API 调用都返回 `Result<T, ApiError>`,其中 `ApiError` 包含以下类型:

- `ApiError::RequestError` - HTTP 请求错误
- `ApiError::HttpError` - HTTP 状态码错误
- `ApiError::UrlError` - URL 解析错误
- `ApiError::JsonError` - JSON 序列化/反序列化错误

## 示例


## 贡献

欢迎提交 Issue 和 Pull Request。

## 许可证

MIT License