@aomex/openapi 2.2.0 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/package.json +6 -6
package/CHANGELOG.md CHANGED
@@ -3,6 +3,36 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # 3.0.0 (2024-08-10)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **openapi:** generateOpenapi返回了错误的类型 ([78da9f9](https://github.com/aomex/aomex/commit/78da9f905f41e67a499f1459b46639a5354cd24b))
12
+ * **openapi:** 保存文件时使用更严格的方式判断后缀 ([8e47e7f](https://github.com/aomex/aomex/commit/8e47e7fb2be8f64693f2743b33b2473812bbe55b))
13
+ * 未更新peerDependencies ([66ac871](https://github.com/aomex/aomex/commit/66ac8719ad443f5ab868d37ed1a49f4cc40decc2))
14
+
15
+
16
+ ### Features
17
+
18
+ * **core:** 删除中间件链条概念 ([48d50cc](https://github.com/aomex/aomex/commit/48d50cc0dc892859b6467344f03a38c111325fc0))
19
+ * **openapi:** 允许自定义指令名称 ([720041f](https://github.com/aomex/aomex/commit/720041f02d660d0856d21d4f392aaaf02e60ff1b))
20
+ * **openapi:** 增加generateOpenapi函数快速生成文档 ([2f73b9a](https://github.com/aomex/aomex/commit/2f73b9a361318207f41afeb68d63ddf9b7720fac))
21
+ * **router:** 删除路径数组格式 ([b69abe9](https://github.com/aomex/aomex/commit/b69abe9185d59b670bd7ba547a2f032c7a9d0b02))
22
+ * **router:** 路由增加文档属性 showInOpenapi ([2ca60ab](https://github.com/aomex/aomex/commit/2ca60ab17ea1e4bb7a7c9b5ab797f0f1633a45fb))
23
+ * **web:** router库合并到web库 ([d7c71fe](https://github.com/aomex/aomex/commit/d7c71feb9eeeabc1509522e655d4afedee274140))
24
+ * **web:** 请求实体包含二进制类型时,采用multipart/form-data的文档格式 ([d9cf1b6](https://github.com/aomex/aomex/commit/d9cf1b6c4c9a85dae5b1235c7ab188204f4d2508))
25
+ * 初始化 ([a370720](https://github.com/aomex/aomex/commit/a37072001cf19f09687623add2442236ab19d7ed))
26
+
27
+
28
+ ### BREAKING CHANGES
29
+
30
+ * **web:** @aomex/router已被删除
31
+
32
+
33
+
34
+
35
+
6
36
  # [2.2.0](https://github.com/aomex/aomex/compare/v2.1.0...v2.2.0) (2024-08-05)
7
37
 
8
38
  **Note:** Version bump only for package @aomex/openapi
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aomex/openapi",
3
- "version": "2.2.0",
3
+ "version": "3.0.0",
4
4
  "description": "Openapi文档生成工具",
5
5
  "type": "module",
6
6
  "types": "dist/index.d.ts",
@@ -45,15 +45,15 @@
45
45
  "lodash.snakecase": "^4.1.1",
46
46
  "log-symbols": "^6.0.0",
47
47
  "yaml": "^2.4.5",
48
- "@aomex/internal-file-import": "^2.2.0",
49
- "@aomex/internal-tools": "^2.2.0"
48
+ "@aomex/internal-tools": "^3.0.0",
49
+ "@aomex/internal-file-import": "^3.0.0"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@types/lodash.snakecase": "^4.1.9",
53
53
  "stat-mode": "^1.0.0",
54
- "@aomex/console": "^2.2.0",
55
- "@aomex/core": "^2.2.0",
56
- "@aomex/web": "^2.2.0"
54
+ "@aomex/console": "^3.0.0",
55
+ "@aomex/core": "^3.0.0",
56
+ "@aomex/web": "^3.0.0"
57
57
  },
58
58
  "scripts": {}
59
59
  }