File tree Expand file tree Collapse file tree 4 files changed +27
-4
lines changed Expand file tree Collapse file tree 4 files changed +27
-4
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "." : " 0.31 .0"
2
+ "." : " 0.32 .0"
3
3
}
Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## [ 0.32.0] ( https://github.com/FrontEndDev-org/openapi-axios/compare/v0.31.0...v0.32.0 ) (2025-02-16)
4
+
5
+
6
+ ### ⚠ BREAKING CHANGES
7
+
8
+ * ** printer:** 自定义 AxiosResponse 不需要使用 Promise 包装
9
+
10
+ ### Features
11
+
12
+ * ** generator:** 为 OpenAPIOptions 类型添加 fileName 属性 ([ d65822b] ( https://github.com/FrontEndDev-org/openapi-axios/commit/d65822b78e7cc7312a4dfeb36077fd8e03221c83 ) )
13
+ * ** generator:** 按类型分离产出文件 ([ d8136fa] ( https://github.com/FrontEndDev-org/openapi-axios/commit/d8136fa4b71224ca153a413e563a6d04c1c321bd ) )
14
+ * ** generator:** 添加 OpenAPI schema 生成功能 ([ d7660cb] ( https://github.com/FrontEndDev-org/openapi-axios/commit/d7660cb6aceeb86b4b25bf454fb2dcc6045fe424 ) )
15
+ * ** printer:** 为 OpenAPI 模式生成 Zod 代码 ([ 550aa7c] ( https://github.com/FrontEndDev-org/openapi-axios/commit/550aa7c40191a13939872ab20e2880460bf20b6e ) )
16
+ * ** printer:** 为字符串类型添加格式约束评论 ([ 62ec3ca] ( https://github.com/FrontEndDev-org/openapi-axios/commit/62ec3caf12e76aef1150e4c760eab48da1d2c14a ) )
17
+ * ** printer:** 提前组件锚点类型 ([ 2aa376d] ( https://github.com/FrontEndDev-org/openapi-axios/commit/2aa376d0d44491035d1667a2b9b1fa3bc8901fe0 ) )
18
+ * 提取 operation 出入参类型 ([ a37bf06] ( https://github.com/FrontEndDev-org/openapi-axios/commit/a37bf062d1b66a34190b65289b664716f6bcc310 ) )
19
+
20
+
21
+ ### Bug Fixes
22
+
23
+ * ** migrations:** 修复 OpenAPI 2.0 迁移到 3.0 时 body 参数的处理 ([ b8374e2] ( https://github.com/FrontEndDev-org/openapi-axios/commit/b8374e238e7c4d9cd94bceb1a0b88476e2236538 ) )
24
+ * ** printer:** 为 axios 请求函数添加 Promise 类型 ([ f47e13e] ( https://github.com/FrontEndDev-org/openapi-axios/commit/f47e13ef8bab9bd32fc6175d95d7ba9d7f46983d ) )
25
+
3
26
## [ 0.31.0] ( https://github.com/FrontEndDev-org/openapi-axios/compare/v0.30.1...v0.31.0 ) (2025-01-26)
4
27
5
28
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " openapi-axios" ,
3
3
"type" : " commonjs" ,
4
- "version" : " 0.31 .0" ,
4
+ "version" : " 0.32 .0" ,
5
5
"description" : " OpenAPI(2.0/3.0/3.1) Schema → Type-safe Axios" ,
6
6
"author" : " 云淡然 <hi@ydr.me> (https://ydr.me)" ,
7
7
"license" : " MIT" ,
You can’t perform that action at this time.
0 commit comments