Skip to content

Releases: FrontEndDev-org/openapi-axios

v0.34.0

22 Feb 18:18
ca20b1e
Compare
Choose a tag to compare

0.34.0 (2025-02-22)

Features

  • printer: 添加错误处理和依赖检查 (f3bee6b)

Bug Fixes

  • printer: 避免因为缺少分号造成的运行时错误 (1fff860)

v0.33.0

21 Feb 17:19
a27a5c4
Compare
Choose a tag to compare

0.33.0 (2025-02-21)

Features

  • generator: 添加运行时 mock 功能 (dc81e4f)
  • printer: 添加接口模拟功能 (923618e)

Bug Fixes

  • printer: 优化请求验证逻辑 (322a5d9)

v0.32.1

17 Feb 12:39
16b5767
Compare
Choose a tag to compare

0.32.1 (2025-02-17)

Bug Fixes

  • utils: 优化 toRelative函数的路径判断逻辑 (03b9096)

v0.32.0

16 Feb 16:27
1cfd8f9
Compare
Choose a tag to compare

0.32.0 (2025-02-16)

⚠ BREAKING CHANGES

  • printer: 自定义 AxiosResponse 不需要使用 Promise 包装

Features

  • generator: 为 OpenAPIOptions 类型添加 fileName 属性 (d65822b)
  • generator: 按类型分离产出文件 (d8136fa)
  • generator: 添加 OpenAPI schema 生成功能 (d7660cb)
  • printer: 为 OpenAPI 模式生成 Zod 代码 (550aa7c)
  • printer: 为字符串类型添加格式约束评论 (62ec3ca)
  • printer: 提前组件锚点类型 (2aa376d)
  • 提取 operation 出入参类型 (a37bf06)

Bug Fixes

  • migrations: 修复 OpenAPI 2.0 迁移到 3.0 时 body 参数的处理 (b8374e2)
  • printer: 为 axios 请求函数添加 Promise 类型 (f47e13e)

v0.31.0

26 Jan 09:28
f6d714a
Compare
Choose a tag to compare

0.31.0 (2025-01-26)

Features

  • printer: 添加文件生成警告信息 (e754eeb)

v0.30.1

26 Jan 08:35
f042b30
Compare
Choose a tag to compare

0.30.1 (2025-01-26)

Bug Fixes

  • printer: 更新 Axios 相关类型名称 (0cfa5a5)

v0.30.0

26 Jan 08:07
223822e
Compare
Choose a tag to compare

0.30.0 (2025-01-26)

Features

  • printer: 重构组件注册和引用解析逻辑 (7f49ec0)

v0.29.0

10 Jan 12:40
3d4ffa9
Compare
Choose a tag to compare

0.29.0 (2025-01-10)

Features

  • axios method 参数值调整为大写 (7406abd)

Bug Fixes

v0.28.1

08 Jan 10:41
eede7c3
Compare
Choose a tag to compare

0.28.1 (2025-01-08)

Bug Fixes

  • 修复指定导入文件后未正确输出 (345e4b2)

v0.28.0

03 Jan 13:37
168cf33
Compare
Choose a tag to compare

0.28.0 (2025-01-03)

Features