From 6430a0cc8aa8b44438953006606cdbc460a7d1f4 Mon Sep 17 00:00:00 2001
From: haoziqaq <357229046@qq.com>
Date: Sat, 18 Jan 2025 17:04:07 +0800
Subject: [PATCH] chore: fix readme
---
README.md | 93 ++++++++++++-------------------------------------
README.zh-CN.md | 91 ++++++++++++-----------------------------------
2 files changed, 45 insertions(+), 139 deletions(-)
diff --git a/README.md b/README.md
index 80b71e1..00f6aff 100644
--- a/README.md
+++ b/README.md
@@ -355,58 +355,6 @@ Axle provides the usage of Vue Composition API style, which encapsulates the `lo
```
-### Parallel Utils
-
-Axle provides some parallel request processing tools, please refer to the following examples.
-
-```html
-
-
-
- {{ usersRoles }}
- {{ loading }}
- {{ downloadProgress }}
-
-
-```
-
### API Definition Enhancement
`createApi` is supported since `v0.9.0`, which is used to define APIs.
@@ -503,15 +451,15 @@ before:
```html
@@ -526,15 +474,15 @@ after:
```html
@@ -544,3 +492,8 @@ after:
```
+
+### API Generation Tool
+
+The `API` generation tool can generate all `API dispatcher` and `type declarations` through `Schema` of `Openapi3/Swagger2`.
+We recommend using [api-farmer](https://github.com/varletjs/api-farmer), which has first-party support for `axle` and is highly customizable.
diff --git a/README.zh-CN.md b/README.zh-CN.md
index a01ab8f..de1c79c 100644
--- a/README.zh-CN.md
+++ b/README.zh-CN.md
@@ -355,58 +355,6 @@ Axle 提供了 Vue Composition API 风格的用法,封装了请求的 `加载
```
-### 并行请求实用工具
-
-Axle 提供了一些并行请求处理工具,请参考以下示例。
-
-```html
-
-
-
- {{ usersRoles }}
- {{ loading }}
- {{ downloadProgress }}
-
-
-```
-
### API 定义增强
从 `0.9.0` 开始支持 `createApi`,以增强 API 定义能力。
@@ -503,15 +451,15 @@ async function handleDelete(id: string) {
```html
@@ -526,15 +474,15 @@ async function handleDelete(id: string) {
```html
@@ -544,3 +492,8 @@ async function handleDelete(id: string) {
```
+
+### API 生成工具
+
+`API` 生成工具可以通过 `Openapi3/Swagger2` 的 `Schema` 生成所有的 `API 调用器` 和 `类型声明`。
+我们推荐使用 [api-farmer](https://github.com/varletjs/api-farmer),它对 `axle` 第一方支持,并且具有高可定制性。